summaryrefslogtreecommitdiff
path: root/src/newgrf_text.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-10-12 19:25:52 +0000
committeryexo <yexo@openttd.org>2011-10-12 19:25:52 +0000
commitbac8ce6b41c5c0886a83ce3e94801d28c2269851 (patch)
treed2a7e94f8583d8dacca2f110e76419c65553eb69 /src/newgrf_text.h
parent560b527f6f32d5dcfe17217d442e07397ed35808 (diff)
downloadopenttd-bac8ce6b41c5c0886a83ce3e94801d28c2269851.tar.xz
(svn r23027) -Fix: in some cases NewGRF string arguments were popped twice from the newgrf textstack
Diffstat (limited to 'src/newgrf_text.h')
-rw-r--r--src/newgrf_text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.h b/src/newgrf_text.h
index 4a9d96af1..338c61c7b 100644
--- a/src/newgrf_text.h
+++ b/src/newgrf_text.h
@@ -40,7 +40,7 @@ void RewindTextRefStack();
bool UsingNewGRFTextStack();
struct TextRefStack *CreateTextRefStackBackup();
void RestoreTextRefStackBackup(struct TextRefStack *backup);
-uint RemapNewGRFStringControlCode(uint scc, char *buf_start, char **buff, const char **str, int64 *argv);
+uint RemapNewGRFStringControlCode(uint scc, char *buf_start, char **buff, const char **str, int64 *argv, bool modify_argv);
StringID TTDPStringIDToOTTDStringIDMapping(StringID string);