(svn r23029) -Fix: [NewGRF] support for cases in strings was broken

This commit is contained in:
yexo
2011-10-14 16:51:30 +00:00
parent 0de30adb9f
commit 49c9f656db
2 changed files with 3 additions and 1 deletions

View File

@@ -715,6 +715,8 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
case SCC_NEWGRF_PRINT_WORD_STRING_ID: {
StringID substr = args->GetInt32(SCC_NEWGRF_PRINT_WORD_STRING_ID);
str_stack.push(GetStringPtr(substr));
casei = modifier >> 24;
modifier = 0;
break;
}