From 3c627747d330a699a099f4330796654c549886a7 Mon Sep 17 00:00:00 2001 From: yexo Date: Mon, 8 Feb 2010 23:05:29 +0000 Subject: (svn r19063) -Codechange: type in constant name (andythenorth) --- src/industrytype.h | 2 +- src/newgrf.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/industrytype.h b/src/industrytype.h index ff85e45d9..294d10623 100644 --- 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 { 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]); -- cgit v1.2.3-70-g09d2