1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 21:19:10 +00:00

(svn r10755) -Codechange: make the town struct use the pool item class as super class.

This commit is contained in:
rubidium
2007-08-02 21:05:54 +00:00
parent 472749af66
commit db374f600c
5 changed files with 48 additions and 93 deletions

View File

@@ -824,7 +824,7 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c
const Town* t = GetTown(GetInt32(&argv));
int64 temp[1];
assert(IsValidTown(t));
assert(t->IsValid());
temp[0] = t->townnameparts;
uint32 grfid = t->townnamegrfid;