Improve performance of tunnel rendering in viewport map mode
This commit is contained in:
@@ -48,6 +48,7 @@ static bool DayLengthChanged(int32 p1);
|
||||
static bool SimulatedWormholeSignalsChanged(int32 p1);
|
||||
static bool EnableSingleVehSharedOrderGuiChanged(int32 p1);
|
||||
static bool CheckYapfRailSignalPenalties(int32 p1);
|
||||
static bool ViewportMapShowTunnelModeChanged(int32 p1);
|
||||
|
||||
static bool UpdateClientName(int32 p1);
|
||||
static bool UpdateServerPassword(int32 p1);
|
||||
@@ -4065,7 +4066,7 @@ var = gui.show_tunnels_on_map
|
||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
def = true
|
||||
str = STR_CONFIG_SETTING_VIEWPORT_MAP_SHOW_TUNNELS
|
||||
proc = RedrawScreen
|
||||
proc = ViewportMapShowTunnelModeChanged
|
||||
|
||||
[SDTC_VAR]
|
||||
var = gui.show_vehicle_route
|
||||
|
Reference in New Issue
Block a user