Add a STRING8 format code

This commit is contained in:
Jonathan G Rennison
2021-11-24 02:10:42 +00:00
parent dd5d4c795b
commit a7094fec3b
4 changed files with 5 additions and 1 deletions

View File

@@ -1299,7 +1299,8 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
case SCC_STRING4:
case SCC_STRING5:
case SCC_STRING6:
case SCC_STRING7: { // {STRING1..7}
case SCC_STRING7:
case SCC_STRING8: { // {STRING1..8}
/* Strings that consume arguments */
StringID str = args->GetInt32(b);
if (game_script && GetStringTab(str) != TEXT_TAB_GAMESCRIPT_START) break;