@@ -1063,13 +1063,13 @@ uint RemapNewGRFStringControlCode(uint s
case SCC_NEWGRF_ROTATE_TOP_4_WORDS: _newgrf_textrefstack.RotateTop4Words(); break;
case SCC_NEWGRF_PUSH_WORD: _newgrf_textrefstack.PushWord(Utf8Consume(str)); break;
case SCC_NEWGRF_UNPRINT: *buff = max(*buff - Utf8Consume(str), buf_start); break;
case SCC_NEWGRF_PRINT_WORD_STRING_ID:
*argv = _newgrf_textrefstack.PopUnsignedWord();
*argv = TTDPStringIDToOTTDStringIDMapping(_newgrf_textrefstack.PopUnsignedWord());
break;
}
switch (scc) {
default: NOT_REACHED();
@@ -835,13 +835,13 @@ static char *FormatString(char *buff, co
StringID substr = Utf8Consume(&str);
str_stack.push(GetStringPtr(substr));
case SCC_NEWGRF_PRINT_WORD_STRING_ID: {
StringID substr = TTDPStringIDToOTTDStringIDMapping(args->GetInt32(SCC_NEWGRF_PRINT_WORD_STRING_ID));
StringID substr = args->GetInt32(SCC_NEWGRF_PRINT_WORD_STRING_ID);
case_index = next_substr_case_index;
next_substr_case_index = 0;
Status change: