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
commitaa020847af7b31bbbcb665b3ef9463c26b6bc339 (patch)
tree6eb3e72e79cf9aa2a65913ea146b5ad8fb3c8dcc /src/newgrf.cpp
parentc00db50edc454977da30f833a96ad08e86f24d0c (diff)
downloadopenttd-aa020847af7b31bbbcb665b3ef9463c26b6bc339.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).