From b0df73c7fd950eb1002d5fac905753b357225623 Mon Sep 17 00:00:00 2001 From: belugas Date: Wed, 17 Oct 2007 02:50:18 +0000 Subject: (svn r11283) -Fix(r11282): a typo. Don't ask. --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2