summaryrefslogtreecommitdiff
path: root/src/newgrf_text.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-02-29 08:48:01 +0000
committerpeter1138 <peter1138@openttd.org>2008-02-29 08:48:01 +0000
commit9ccce574386eb8daf97a0b55baa01be1bf5e01e9 (patch)
tree064d47c27a7440a3e1a27e39cc72ef4a99b5dacd /src/newgrf_text.h
parent6bdc8e5fae1c7fa5bc3a681e30e78de7c9b3f76b (diff)
downloadopenttd-9ccce574386eb8daf97a0b55baa01be1bf5e01e9.tar.xz
(svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other strings.
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 033d927b9..e5f4f09ea 100644
--- a/src/newgrf_text.h
+++ b/src/newgrf_text.h
@@ -11,7 +11,7 @@ StringID GetGRFStringID(uint32 grfid, uint16 stringid);
const char *GetGRFStringPtr(uint16 stringid);
void CleanUpStrings();
void SetCurrentGrfLangID(const char *iso_name);
-char *TranslateTTDPatchCodes(const char *str);
+char *TranslateTTDPatchCodes(uint32 grfid, const char *str);
bool CheckGrfLangID(byte lang_id, byte grf_version);