From a50ba1b8c1afc164cf14750d9c1a89dfec9dd25a Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 23 Jun 2009 09:52:26 +0000 Subject: (svn r16632) -Codechange: rename Town::flags12 to Town::flags --- src/newgrf_town.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_town.cpp') diff --git a/src/newgrf_town.cpp b/src/newgrf_town.cpp index 084bf640c..279c761e5 100644 --- a/src/newgrf_town.cpp +++ b/src/newgrf_town.cpp @@ -30,7 +30,7 @@ uint32 TownGetVariable(byte variable, byte parameter, bool *available, const Tow case 0x82: return ClampToU16(t->population); case 0x83: return GB(ClampToU16(t->population), 8, 8); case 0x8A: return t->grow_counter; - case 0x92: return t->flags12; // In original game, 0x92 and 0x93 are really one word. Since flags12 is a byte, this is to adjust + case 0x92: return t->flags; // In original game, 0x92 and 0x93 are really one word. Since flags is a byte, this is to adjust case 0x93: return 0; case 0x94: return ClampToU16(t->squared_town_zone_radius[0]); case 0x95: return GB(ClampToU16(t->squared_town_zone_radius[0]), 8, 8); -- cgit v1.2.3-54-g00ecf