summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-08-02 21:05:54 +0000
committerrubidium <rubidium@openttd.org>2007-08-02 21:05:54 +0000
commit032de036dd612210c45926b26ff8afa9d3ed4e5c (patch)
tree84da20e2476c8a93a49a52821e1018b7026f3c85 /src/strings.cpp
parent2c9e166e7e012be1dcdcae96c1043bdec669c130 (diff)
downloadopenttd-032de036dd612210c45926b26ff8afa9d3ed4e5c.tar.xz
(svn r10755) -Codechange: make the town struct use the pool item class as super class.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
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;