summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-02-08 23:05:29 +0000
committeryexo <yexo@openttd.org>2010-02-08 23:05:29 +0000
commit3c627747d330a699a099f4330796654c549886a7 (patch)
tree09f1fe01733b25b3a5f88bd760b29917d0b5b166 /src/newgrf.cpp
parentb9f06f3f2998c6ae5474ef9de725fb34bf5511ec (diff)
downloadopenttd-3c627747d330a699a099f4330796654c549886a7.tar.xz
(svn r19063) -Codechange: type in constant name (andythenorth)
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index d0ae2d77d..581b19133 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -5668,7 +5668,7 @@ static void ResetCustomIndustries()
}
/* We need to remove the tiles layouts */
- if (HasBit(ind->cleanup_flag, CLEAN_TILELSAYOUT) && ind->table != NULL) {
+ if (HasBit(ind->cleanup_flag, CLEAN_TILELAYOUT) && ind->table != NULL) {
for (int j = 0; j < ind->num_table; j++) {
/* remove the individual layouts */
free((void*)ind->table[j]);