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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user