diff options
author | ludde <ludde@openttd.org> | 2005-07-19 21:14:00 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-07-19 21:14:00 +0000 |
commit | 7a553d843999e1fb1675b5b78b3b1fde743c9d7b (patch) | |
tree | 923830bc336edab1a1b85060861a31e71f3a8315 | |
parent | 34253195a222826d3bbe5f80fbf6fe8320d574ae (diff) | |
download | openttd-7a553d843999e1fb1675b5b78b3b1fde743c9d7b.tar.xz |
(svn r2641) Fix: [strings] forgot to increase argv pointer twice for {CARGO}
-rw-r--r-- | strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |