summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-10-17 02:50:18 +0000
committerbelugas <belugas@openttd.org>2007-10-17 02:50:18 +0000
commit5691c77494efc036fe85c65239c73d54110e3e1c (patch)
treebe60c5d2262df54953eb30262b74f1fe66811110 /src
parentebd7b637334d004ae1528374998bd90881d99c47 (diff)
downloadopenttd-5691c77494efc036fe85c65239c73d54110e3e1c.tar.xz
(svn r11283) -Fix(r11282): a typo. Don't ask.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 60b98182d..07a71d62c 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -1890,7 +1890,7 @@ static bool IndustriesChangeInfo(uint indid, int numinfo, int prop, byte **bufp,
copy_from = (IndustryTileTable*)_origin_industry_specs[type].table[laynbr];
for (size = 1;; size++) {
- if (copy_from[size - 1].ti.x == -0x80 && copy_from[size - 1].ti.y) break;
+ if (copy_from[size - 1].ti.x == -0x80 && copy_from[size - 1].ti.y == 0) break;
}
break;
}