(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 2c9e166e7e
commit 032de036dd
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;