summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-09-22 23:40:35 +0000
committerglx <glx@openttd.org>2007-09-22 23:40:35 +0000
commitb1fa49d3fa0d7e4a271bd6caa73ebf058aa9d7e9 (patch)
tree6eb3e72e79cf9aa2a65913ea146b5ad8fb3c8dcc /src/newgrf.cpp
parent46940be717ffff69a52815f37d030379ed249ab8 (diff)
downloadopenttd-b1fa49d3fa0d7e4a271bd6caa73ebf058aa9d7e9.tar.xz
(svn r11144) -Codechange: add support for newgrf callbacks 29 and 35
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 9037ea638..b4db6d772 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -244,7 +244,7 @@ static GRFFile *GetFileByFilename(const char *filename)
* @param str StringID that we want to have the equivalent in OoenTTD
* @return the properly adjusted StringID
*/
-static StringID MapGRFStringID(uint32 grfid, StringID str)
+StringID MapGRFStringID(uint32 grfid, StringID str)
{
/* 0xD0 and 0xDC stand for all the TextIDs in the range
* of 0xD000 (misc graphics texts) and 0xDC00 (misc persistent texts).