(svn r19063) -Codechange: type in constant name (andythenorth)

This commit is contained in:
yexo 2010-02-08 23:05:29 +00:00
parent b9f06f3f29
commit 3c627747d3
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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]);