diff options
author | rubidium <rubidium@openttd.org> | 2007-07-09 19:38:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-09 19:38:12 +0000 |
commit | b876be00646fabe692fbfd2f40b2e4e738fa8627 (patch) | |
tree | fe6e459323fff2b8b4f16fc6d9754ccddb47c11b /src/town_cmd.cpp | |
parent | 0452fc482dd49764e0323f78bd0c5a9818a8cc1a (diff) | |
download | openttd-b876be00646fabe692fbfd2f40b2e4e738fa8627.tar.xz |
(svn r10493) -Codechange: update some callback ID enums to reflect their changed usage, add a few and update the comments.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 5de70f79a..bff65782b 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -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); } |