Mercurial > hg > openttd
changeset 17476:a5a789cc7d6a draft
(svn r22231) -Feature(ette): [NewGRF] Make var 0x48 available in CB 0x15C.
author | frosch <frosch@openttd.org> |
---|---|
date | Thu, 10 Mar 2011 19:32:24 +0000 |
parents | 96d3d7db6638 |
children | 4cff22731aa1 |
files | src/object_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -232,7 +232,7 @@ /* Get the extra message for the GUI */ if (HasBit(spec->callback_mask, CBM_OBJ_FUND_MORE_TEXT)) { - uint16 callback_res = GetObjectCallback(CBID_OBJECT_FUND_MORE_TEXT, 0, 0, spec, NULL, INVALID_TILE); + uint16 callback_res = GetObjectCallback(CBID_OBJECT_FUND_MORE_TEXT, 0, 0, spec, NULL, INVALID_TILE, _selected_object_view); if (callback_res != CALLBACK_FAILED) { StringID message = GetGRFStringID(spec->grf_prop.grffile->grfid, 0xD000 + callback_res); if (message != STR_NULL && message != STR_UNDEFINED) {