summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-07-19 21:14:00 +0000
committerludde <ludde@openttd.org>2005-07-19 21:14:00 +0000
commit7a553d843999e1fb1675b5b78b3b1fde743c9d7b (patch)
tree923830bc336edab1a1b85060861a31e71f3a8315
parent34253195a222826d3bbe5f80fbf6fe8320d574ae (diff)
downloadopenttd-7a553d843999e1fb1675b5b78b3b1fde743c9d7b.tar.xz
(svn r2641) Fix: [strings] forgot to increase argv pointer twice for {CARGO}
-rw-r--r--strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings.c b/strings.c
index dba6f79f4..e73969332 100644
--- a/strings.c
+++ b/strings.c
@@ -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;
}