mirror of https://github.com/OpenRCT2/OpenRCT2.git
Disable tracks for networked games until fixed
This commit is contained in:
parent
518b19156a
commit
b1c8275ec0
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue