changeset 14492:aaf7de90045e draft

(svn r19063) -Codechange: type in constant name (andythenorth)
author yexo <yexo@openttd.org>
date Mon, 08 Feb 2010 23:05:29 +0000
parents ce48b302a141
children 522dc4972f9f
files src/industrytype.h src/newgrf.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/industrytype.h
+++ b/src/industrytype.h
@@ -22,7 +22,7 @@
 
 enum {
 	CLEAN_RANDOMSOUNDS,    ///< Free the dynamically allocated sounds table
-	CLEAN_TILELSAYOUT,     ///< Free the dynamically allocated tile layout structure
+	CLEAN_TILELAYOUT,      ///< Free the dynamically allocated tile layout structure
 };
 
 enum IndustryLifeType {
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -5668,7 +5668,7 @@
 				}
 
 				/* 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]);