# HG changeset patch # User yexo # Date 2010-02-08 23:05:29 # Node ID 36a094b18e758099b470273cdabc646bc76eb617 # Parent d4666a76d6a1b8bdca2125005476f280caa87f86 (svn r19063) -Codechange: type in constant name (andythenorth) diff --git a/src/industrytype.h b/src/industrytype.h --- 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 --- 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]);