summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-10-19 21:14:38 +0000
committerglx <glx@openttd.org>2007-10-19 21:14:38 +0000
commit3b08339a10df6c5aa761930565cd928c95aa0773 (patch)
treeefae398dac57bba1ae4030f979f5a1395ec5d363 /src/industry_cmd.cpp
parentb0e5a3be639497b8bdd4ee0d396ff3ffcbc9ca18 (diff)
downloadopenttd-3b08339a10df6c5aa761930565cd928c95aa0773.tar.xz
(svn r11302) -Fix (r9520): typo
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 7200e9e4e..80d8ccc3d 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1007,7 +1007,7 @@ static void ProduceIndustryGoods(Industry *i)
if ((i->counter & 0xFF) == 0) {
if (HASBIT(indsp->callback_flags, CBM_IND_PRODUCTION_256_TICKS)) IndustryProductionCallback(i, 1);
- IndustyBehaviour indbehav = indsp->behaviour;
+ IndustryBehaviour indbehav = indsp->behaviour;
i->produced_cargo_waiting[0] = min(0xffff, i->produced_cargo_waiting[0] + i->production_rate[0]);
i->produced_cargo_waiting[1] = min(0xffff, i->produced_cargo_waiting[1] + i->production_rate[1]);
@@ -1226,7 +1226,7 @@ static bool CheckIfIndustryTilesAreFree(TileIndex tile, const IndustryTileTable
const IndustryTileSpec *its = GetIndustryTileSpec(gfx);
- IndustyBehaviour ind_behav = GetIndustrySpec(type)->behaviour;
+ IndustryBehaviour ind_behav = GetIndustrySpec(type)->behaviour;
/* Perform land/water check if not disabled */
if (!HASBIT(its->slopes_refused, 5) && (IsWaterTile(cur_tile) == !(ind_behav & INDUSTRYBEH_BUILT_ONWATER))) return false;