--- a/src/strings.cpp Mon Jun 25 10:22:48 2007 +0000
+++ b/src/strings.cpp Mon Jun 25 10:40:56 2007 +0000
@@ -29,6 +29,7 @@
#include "group.h"
#include "debug.h"
#include "newgrf_townname.h"
+#include "signs.h"
#include "vehicle.h"
/* for opendir/readdir/closedir */
@@ -873,6 +874,12 @@
break;
}
+ case SCC_SIGN_NAME: { // {SIGN}
+ const Sign *si = GetSign(GetInt32(&argv));
+ buff = GetString(buff, si->str, last);
+ break;
+ }
+
case SCC_SETCASE: { // {SETCASE}
/* This is a pseudo command, it's outputted when someone does {STRING.ack}
* The modifier is added to all subsequent GetStringWithArgs that accept the modifier. */