diff options
author | rubidium <rubidium@openttd.org> | 2007-08-02 21:05:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-02 21:05:54 +0000 |
commit | db374f600c319f0d230cf5f84e120ea06b5fa41e (patch) | |
tree | 84da20e2476c8a93a49a52821e1018b7026f3c85 /src/misc_gui.cpp | |
parent | 472749af664c92c30ed7acfc394c090d0c621c84 (diff) | |
download | openttd-db374f600c319f0d230cf5f84e120ea06b5fa41e.tar.xz |
(svn r10755) -Codechange: make the town struct use the pool item class as super class.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index e5d728025..21cd4dd90 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -134,7 +134,7 @@ static void Place_LandInfo(TileIndex tile) GetString(_landinfo_data[3], STR_LANDINFO_COORDS, lastof(_landinfo_data[3])); SetDParam(0, STR_01A9_NONE); - if (t != NULL && IsValidTown(t)) { + if (t != NULL && t->IsValid()) { SetDParam(0, STR_TOWN); SetDParam(1, t->index); } |