diff options
author | yexo <yexo@openttd.org> | 2011-10-20 19:02:13 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-10-20 19:02:13 +0000 |
commit | 46321ac3107b0c5cced978012c93fa4255d05c2f (patch) | |
tree | 2b7a1b86e3469e8d5e71df96ed81e886a7652f8c /src | |
parent | cbbea5f521aa325133adf8c8061dd01f0a1ed227 (diff) | |
download | openttd-46321ac3107b0c5cced978012c93fa4255d05c2f.tar.xz |
(svn r23045) -Change: copy 6 registers to newgrf textstack after cb23 instead of 4
Diffstat (limited to 'src')
-rw-r--r-- | src/build_vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp index a7883067e..4b40d7365 100644 --- a/src/build_vehicle_gui.cpp +++ b/src/build_vehicle_gui.cpp @@ -755,7 +755,7 @@ static uint ShowAdditionalText(int left, int right, int y, EngineID engine) uint16 callback = GetVehicleCallback(CBID_VEHICLE_ADDITIONAL_TEXT, 0, 0, engine, NULL); if (callback == CALLBACK_FAILED) return y; - StartTextRefStackUsage(4); + StartTextRefStackUsage(6); uint result = DrawStringMultiLine(left, right, y, INT32_MAX, GetGRFStringID(GetEngineGRFID(engine), 0xD000 + callback), TC_BLACK); StopTextRefStackUsage(); return result; |