summaryrefslogtreecommitdiff
path: root/town.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-15 07:07:17 +0000
committertron <tron@openttd.org>2006-08-15 07:07:17 +0000
commit4ad8d1c7a268b09d5f1313d597567f49c4eac38e (patch)
tree0aa4cb8becef58d3f427c3d8a47031b3ee8aad86 /town.h
parentd84a1dcf501227ec59a143e9d4b3d605aa8a3fcc (diff)
downloadopenttd-4ad8d1c7a268b09d5f1313d597567f49c4eac38e.tar.xz
(svn r5907) Remove more indirection by using pointers instead of IDs. Also fix some bogus warnings on MSVC by using (void*) casts
Diffstat (limited to 'town.h')
-rw-r--r--town.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/town.h b/town.h
index 4729cccc8..9664ca2ed 100644
--- a/town.h
+++ b/town.h
@@ -151,7 +151,7 @@ enum {
bool CheckforTownRating(uint32 flags, Town *t, byte type);
-VARDEF TownID *_town_sort;
+VARDEF const Town** _town_sort;
extern MemoryPool _town_pool;