mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 06:59:10 +00:00
(svn r3110) Replace another 256 with TOTAL_NUM_ENGINES.
This commit is contained in:
3
player.h
3
player.h
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "aystar.h"
|
||||
#include "rail.h"
|
||||
#include "engine.h"
|
||||
|
||||
typedef struct PlayerEconomyEntry {
|
||||
int32 income;
|
||||
@@ -187,7 +188,7 @@ typedef struct Player {
|
||||
int64 yearly_expenses[3][13];
|
||||
PlayerEconomyEntry cur_economy;
|
||||
PlayerEconomyEntry old_economy[24];
|
||||
EngineID engine_replacement[256];
|
||||
EngineID engine_replacement[TOTAL_NUM_ENGINES];
|
||||
bool engine_renew;
|
||||
int16 engine_renew_months;
|
||||
uint32 engine_renew_money;
|
||||
|
Reference in New Issue
Block a user