src/newgrf_industrytiles.cpp
branchNewGRF_ports
changeset 10242 52b4a9006029
parent 10184 fcf5fb2548eb
child 10274 b3c58f3df92b
--- a/src/newgrf_industrytiles.cpp	Wed Apr 16 22:34:14 2008 +0000
+++ b/src/newgrf_industrytiles.cpp	Fri Apr 18 19:55:13 2008 +0000
@@ -279,7 +279,7 @@
 		return !IsSlopeRefused(GetTileSlope(ind_tile, NULL), its->slopes_refused);
 	}
 	if (its->grf_prop.grffile->grf_version < 7) {
-		return (callback_res & 0xFF) != 0; // mask to 8 bit callback result
+		return callback_res != 0;
 	}
 
 	/* Copy some parameters from the registers to the error message text ref. stack */