mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r2622) Fix: remove _cargoc.names_p, it was never used.
This commit is contained in:
parent
edbe969d23
commit
52b42ff508
4
misc.c
4
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];
|
||||
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user