summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
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
commit8d82deffa1a46b9205e220865a27b1d46c0455cb (patch)
tree195028f6492eec86b083051c7e8e4690bfb46fd0 /src/industry_cmd.cpp
parent0f6e6d97130e955f4c4764edcfd03fbd999fb659 (diff)
downloadopenttd-8d82deffa1a46b9205e220865a27b1d46c0455cb.tar.xz
(svn r9993) -Fix (r9992): smallish typos resulting in compile time errors.
Diffstat (limited to 'src/industry_cmd.cpp')
-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;
}