mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r2641) Fix: [strings] forgot to increase argv pointer twice for {CARGO}
This commit is contained in:
parent
34253195a2
commit
7a553d8439
@ -679,7 +679,7 @@ static char *FormatString(char *buff, const char *str, const int32 *argv, uint c
|
||||
// 8bit - cargo type
|
||||
// 16-bit - cargo count
|
||||
StringID cargo_str = _cargoc.names_long[GetInt32(&argv)];
|
||||
buff = GetStringWithArgs(buff, cargo_str, argv);
|
||||
buff = GetStringWithArgs(buff, cargo_str, argv++);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user