(svn r22776) -Codechange: Unify the naming of NewGRF string codes; always include the size of the parameter on the stack. (based on patch by Hirundo)

This commit is contained in:
frosch
2011-08-20 22:06:38 +00:00
parent 7394bcb813
commit 8d3d7b4e01
3 changed files with 58 additions and 58 deletions

View File

@@ -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;
}