diff options
author | yexo <yexo@openttd.org> | 2011-02-13 20:52:33 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-02-13 20:52:33 +0000 |
commit | b51c62f5af9aa09a8d91d04f298c8287e4a5e285 (patch) | |
tree | 9c828aa65dbacc2e4622e2de8319eab5e62d9a19 /src/settings.cpp | |
parent | f1377a228fbe6ed5e6393c5428970742c520340e (diff) | |
download | openttd-b51c62f5af9aa09a8d91d04f298c8287e4a5e285.tar.xz |
(svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index e4bc9f336..68e52fec6 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1147,16 +1147,6 @@ static bool StationCatchmentChanged(int32 p1) } -static bool MarkAllTrainsDirty(int32 p1) -{ - Train *t; - FOR_ALL_TRAINS(t) { - if (t->IsPrimaryVehicle()) t->MarkDirty(); - } - SetWindowClassesDirty(WC_VEHICLE_DETAILS); - return true; -} - #ifdef ENABLE_NETWORK static bool UpdateClientName(int32 p1) |