Mercurial > hg > openttd
diff src/engine.cpp @ 13034:6eb3f749890a draft
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
author | frosch <frosch@openttd.org> |
---|---|
date | Sun, 13 Sep 2009 19:15:59 +0000 (2009-09-13) |
parents | a6a46b1b7ad9 |
children | 8e2a0e8fa275 |
line wrap: on
line diff
--- a/src/engine.cpp +++ b/src/engine.cpp @@ -436,8 +436,8 @@ /* 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()