(svn r10520) -Fix: when a "can I build this industry tile here" callback did not fail, it doesn't automatically mean that the industry tile can be built there.
--- a/src/newgrf_industrytiles.cpp Thu Jul 12 08:10:40 2007 +0000
+++ b/src/newgrf_industrytiles.cpp Thu Jul 12 09:15:57 2007 +0000
@@ -244,7 +244,7 @@
if (its->grf_prop.grffile->grf_version < 7) {
return callback_res != 0;
}
- if (callback_res != CALLBACK_FAILED) return true;
+ if (callback_res == CALLBACK_FAILED) return false;
switch (callback_res) {
case 0x400: return true;