changeset 7746:f07ef83f8ce7 draft

(svn r11283) -Fix(r11282): a typo. Don't ask.
author belugas <belugas@openttd.org>
date Wed, 17 Oct 2007 02:50:18 +0000
parents 61529e596a0a
children 2f53bca4d8fb
files src/newgrf.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -1890,7 +1890,7 @@
 
 							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;
 						}