diff options
author | ludde <ludde@openttd.org> | 2005-07-17 18:49:05 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-07-17 18:49:05 +0000 |
commit | 52b42ff5081f25da96f70d7f16705e71e691216e (patch) | |
tree | ca24ca0eb13d1c91219a49637c54c29e013e48ee | |
parent | edbe969d239c45909ce557e1a81ce9be9ed89664 (diff) | |
download | openttd-52b42ff5081f25da96f70d7f16705e71e691216e.tar.xz |
(svn r2622) Fix: remove _cargoc.names_p, it was never used.
-rw-r--r-- | misc.c | 4 | ||||
-rw-r--r-- | variables.h | 1 |
2 files changed, 1 insertions, 4 deletions
@@ -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]; diff --git a/variables.h b/variables.h index cba31fca5..f026a7601 100644 --- a/variables.h +++ b/variables.h @@ -379,7 +379,6 @@ VARDEF FILE *_log_file_fd; // NOSAVE: These can be recalculated from InitializeLandscapeVariables typedef struct { StringID names_s[NUM_CARGO]; - StringID names_p[NUM_CARGO]; StringID names_long[NUM_CARGO]; StringID names_short[NUM_CARGO]; byte weights[NUM_CARGO]; |