diff options
author | michi_cc <michi_cc@openttd.org> | 2012-12-20 19:44:02 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2012-12-20 19:44:02 +0000 |
commit | c75962e04c0999c0c458b2ee54519f094d7c6543 (patch) | |
tree | 77dfc5b80771380cba34acf3f6ed564ce8be0657 /src/settings.cpp | |
parent | 8eb1cb4ebbfa2b00ca27f860555f5397fe5a1c9e (diff) | |
download | openttd-c75962e04c0999c0c458b2ee54519f094d7c6543.tar.xz |
(svn r24833) -Codechange: Replace magic numbers for invalidating vehicle-related windows with an enum.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index e9f190ede..27a68785d 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -960,7 +960,7 @@ static bool TownFoundingChanged(int32 p1) static bool InvalidateVehTimetableWindow(int32 p1) { - InvalidateWindowClassesData(WC_VEHICLE_TIMETABLE, -2); + InvalidateWindowClassesData(WC_VEHICLE_TIMETABLE, VIWD_MODIFY_ORDERS); return true; } |