1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-28 22:54:29 +01:00

(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.

This commit is contained in:
rubidium
2009-09-30 21:07:54 +00:00
parent 0032405093
commit c847f5c04e
6 changed files with 10 additions and 18 deletions

View File

@@ -1632,8 +1632,7 @@ public:
default: break;
}
this->SetDirty();
this->OnInvalidateData();
this->InvalidateData();
}
virtual void OnInvalidateData(int data = 0)