summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 1be6855c5..09f2243c7 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -713,8 +713,8 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
break;
}
- case SCC_NEWGRF_PRINT_STRING_ID: {
- StringID substr = args->GetInt32(SCC_NEWGRF_PRINT_STRING_ID);
+ case SCC_NEWGRF_PRINT_WORD_STRING_ID: {
+ StringID substr = args->GetInt32(SCC_NEWGRF_PRINT_WORD_STRING_ID);
str_stack.push(GetStringPtr(substr));
break;
}