(svn r19743) -Fix: NewGrfs could access map bits of not yet constructed industries and houses during construction callbacks.

This commit is contained in:
frosch
2010-05-01 13:01:21 +00:00
parent cd5c4446e8
commit dc1a95a9fd
6 changed files with 48 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ void DrawNewHouseTile(TileInfo *ti, HouseID house_id);
void AnimateNewHouseTile(TileIndex tile);
void ChangeHouseAnimationFrame(const struct GRFFile *file, TileIndex tile, uint16 callback_result);
uint16 GetHouseCallback(CallbackID callback, uint32 param1, uint32 param2, HouseID house_id, Town *town, TileIndex tile);
uint16 GetHouseCallback(CallbackID callback, uint32 param1, uint32 param2, HouseID house_id, Town *town, TileIndex tile, bool not_yet_constructed = false);
bool CanDeleteHouse(TileIndex tile);