Disable tracks for networked games until fixed

This commit is contained in:
duncanspumpkin 2015-11-28 00:39:53 +00:00
parent 518b19156a
commit b1c8275ec0
1 changed files with 8 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#include "error.h"
#include "../interface/themes.h"
#include "../rct1.h"
#include "../network/network.h"
enum {
WIDX_BACKGROUND,
@ -145,6 +146,13 @@ void window_track_list_open(ride_list_item item)
RCT2_GLOBAL(RCT2_ADDRESS_TRACK_DESIGN_SCENERY_TOGGLE, uint8) = 0;
window_push_others_right(w);
RCT2_GLOBAL(RCT2_ADDRESS_TRACK_PREVIEW_ROTATION, uint8) = 2;
#ifndef NETWORK_DISABLE
// TODO: FIX NETWORK TRACKS
// Until tracks work with the network this will disable them
if (network_get_mode() != NETWORK_MODE_NONE)
RCT2_ADDRESS(RCT2_ADDRESS_TRACK_LIST, utf8)[0] = 0;
#endif
}
/**