mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 08:52:40 +01:00
Fix: [NewGRF] String parameter stack and case selection were not processed for control code 0x81. (#13851)
This commit is contained in:
@@ -1133,6 +1133,8 @@ static void FormatString(StringBuilder &builder, const char *str_arg, StringPara
|
||||
} else {
|
||||
str_stack.push(ptr);
|
||||
}
|
||||
case_index = next_substr_case_index;
|
||||
next_substr_case_index = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user