From 4269170c9b9e9432582aa7717db9878a7e23fcd6 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 10 Mar 2011 19:32:24 +0000 Subject: (svn r22231) -Feature(ette): [NewGRF] Make var 0x48 available in CB 0x15C. --- src/object_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/object_gui.cpp b/src/object_gui.cpp index ba2317192..ec72dc482 100644 --- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -232,7 +232,7 @@ public: /* 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) { -- cgit v1.2.3-70-g09d2