From 52b42ff5081f25da96f70d7f16705e71e691216e Mon Sep 17 00:00:00 2001 From: ludde Date: Sun, 17 Jul 2005 18:49:05 +0000 Subject: [PATCH] (svn r2622) Fix: remove _cargoc.names_p, it was never used. --- misc.c | 4 +--- variables.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/misc.c b/misc.c index 4fdd7740ff..d2479bd895 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]; diff --git a/variables.h b/variables.h index cba31fca54..f026a7601d 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];