summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-03-15 01:17:20 +0000
committerbelugas <belugas@openttd.org>2007-03-15 01:17:20 +0000
commiteb1e6c19ad233a4e1c1b5e37dc59f02db0692212 (patch)
tree7a5ae7b977b85d693130c896adde1a6bb0ae5d7c /src/industry_cmd.cpp
parent33e84b2c1ec36aa7451bf2db5c4f583d740f0021 (diff)
downloadopenttd-eb1e6c19ad233a4e1c1b5e37dc59f02db0692212.tar.xz
(svn r9190) -Fix: Little typo in an enum.
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 967f78456..2352c52da 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -359,7 +359,7 @@ static void TransportIndustryGoods(TileIndex tile)
if (am != 0) {
uint newgfx = GetIndustryTileSpec(GetIndustryGfx(tile))->anim_production;
- if (newgfx != INDUTILE_NOAMIN) {
+ if (newgfx != INDUTILE_NOANIM) {
ResetIndustryConstructionStage(tile);
SetIndustryCompleted(tile, true);
SetIndustryGfx(tile, newgfx);
@@ -646,7 +646,7 @@ static void TileLoop_Industry(TileIndex tile)
TransportIndustryGoods(tile);
newgfx = GetIndustryTileSpec(GetIndustryGfx(tile))->anim_next;
- if (newgfx != INDUTILE_NOAMIN) {
+ if (newgfx != INDUTILE_NOANIM) {
ResetIndustryConstructionStage(tile);
SetIndustryGfx(tile, newgfx);
MarkTileDirtyByTile(tile);