Hide unused climate threshold settings depending on climate threshold mode

This commit is contained in:
Jonathan G Rennison
2021-04-10 21:34:27 +01:00
parent 40203b090f
commit 34e9c22c3d
2 changed files with 8 additions and 4 deletions

View File

@@ -1495,6 +1495,7 @@ static bool InvalidateAllVehicleImageCaches(int32 p1)
static bool ClimateThresholdModeChanged(int32 p1)
{
InvalidateWindowClassesData(WC_GENERATE_LANDSCAPE);
InvalidateWindowClassesData(WC_GAME_OPTIONS);
return true;
}