(svn r24833) -Codechange: Replace magic numbers for invalidating vehicle-related windows with an enum.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user