1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.

This commit is contained in:
frosch
2009-09-13 19:15:59 +00:00
parent 5de9cc46b5
commit ebd916be3d
61 changed files with 323 additions and 323 deletions

View File

@@ -436,8 +436,8 @@ static void CalcEngineReliability(Engine *e)
/* Kick this engine out of the lists */
AddRemoveEngineFromAutoreplaceAndBuildWindows(e->type);
}
InvalidateWindowClasses(WC_BUILD_VEHICLE); // Update to show the new reliability
InvalidateWindowClasses(WC_REPLACE_VEHICLE);
SetWindowClassesDirty(WC_BUILD_VEHICLE); // Update to show the new reliability
SetWindowClassesDirty(WC_REPLACE_VEHICLE);
}
void SetYearEngineAgingStops()