summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-07-17 18:49:05 +0000
committerludde <ludde@openttd.org>2005-07-17 18:49:05 +0000
commit52b42ff5081f25da96f70d7f16705e71e691216e (patch)
treeca24ca0eb13d1c91219a49637c54c29e013e48ee /misc.c
parentedbe969d239c45909ce557e1a81ce9be9ed89664 (diff)
downloadopenttd-52b42ff5081f25da96f70d7f16705e71e691216e.tar.xz
(svn r2622) Fix: remove _cargoc.names_p, it was never used.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/misc.c b/misc.c
index 4fdd7740f..d2479bd89 100644
--- a/misc.c
+++ b/misc.c
@@ -423,9 +423,7 @@ void InitializeLandscapeVariables(bool only_constants)
str = lpd->names[i];
_cargoc.names_s[i] = str;
- _cargoc.names_p[i] = (str += 0x20);
- _cargoc.names_long[i] = (str += 0x20);
-// _cargoc.names_long_p[i] = (str += 0x20);
+ _cargoc.names_long[i] = (str += 0x40);
_cargoc.names_short[i] = (str += 0x20);
_cargoc.weights[i] = lpd->weights[i];