summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-30 20:34:16 +0000
committerrubidium <rubidium@openttd.org>2007-05-30 20:34:16 +0000
commiteab80301fc8979322baa0ad9078a9a2c8cfae955 (patch)
tree195028f6492eec86b083051c7e8e4690bfb46fd0 /src
parent06bc9866aac08bb5682470d78524234cf1411f48 (diff)
downloadopenttd-eab80301fc8979322baa0ad9078a9a2c8cfae955.tar.xz
(svn r9993) -Fix (r9992): smallish typos resulting in compile time errors.
Diffstat (limited to 'src')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 7f8a38ff7..3900357d7 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1481,7 +1481,7 @@ int32 CmdBuildIndustry(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
indspec->accepts_cargo[0] == CT_INVALID &&
indspec->accepts_cargo[1] == CT_INVALID &&
indspec->accepts_cargo[2] == CT_INVALID &&
- !(ind_spc->behaviour & INDUSTRYBEH_CUT_TREES) {
+ !(indspec->behaviour & INDUSTRYBEH_CUT_TREES)) {
return CMD_ERROR;
}