From db374f600c319f0d230cf5f84e120ea06b5fa41e Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 2 Aug 2007 21:05:54 +0000 Subject: (svn r10755) -Codechange: make the town struct use the pool item class as super class. --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strings.cpp') diff --git a/src/strings.cpp b/src/strings.cpp index 6edf9e22c..bcd44db09 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -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; -- cgit v1.2.3-54-g00ecf