(svn r2622) Fix: remove _cargoc.names_p, it was never used.

This commit is contained in:
ludde 2005-07-17 18:49:05 +00:00
parent edbe969d23
commit 52b42ff508
2 changed files with 1 additions and 4 deletions

4
misc.c
View File

@ -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];

View File

@ -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];