1
0
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:
frosch
2025-03-21 18:13:08 +01:00
committed by GitHub
parent a4f9977d18
commit a4f3ddae5f
2 changed files with 9 additions and 3 deletions

View File

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