mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-08 01:10:28 +00:00
(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.
This commit is contained in:
parent
de084ace1c
commit
07a1d4379e
@ -244,7 +244,7 @@ bool PerformIndustryTileSlopeCheck(TileIndex tile, const IndustryTileSpec *its,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user