(svn r10493) -Codechange: update some callback ID enums to reflect their changed usage, add a few and update the comments.

This commit is contained in:
rubidium
2007-07-09 19:38:12 +00:00
parent ad5a68a282
commit 7cb7488836
5 changed files with 121 additions and 112 deletions

View File

@@ -345,7 +345,7 @@ static void MakeSingleHouseBigger(TileIndex tile)
/* Check and/or */
if (HASBIT(GetHouseSpecs(GetHouseType(tile))->callback_mask, CBM_CONSTRUCTION_STATE_CHANGE)) {
uint16 callback_res = GetHouseCallback(CBID_CONSTRUCTION_STATE_CHANGE, 0, 0, GetHouseType(tile), GetTownByTile(tile), tile);
uint16 callback_res = GetHouseCallback(CBID_HOUSE_CONSTRUCTION_STATE_CHANGE, 0, 0, GetHouseType(tile), GetTownByTile(tile), tile);
if (callback_res != CALLBACK_FAILED) ChangeHouseAnimationFrame(tile, callback_res);
}