player.h
changeset 2573 1950c5c3aab5
parent 2544 50cb52cdeb73
child 2613 b008d366ed8a
--- a/player.h	Mon Oct 31 11:22:52 2005 +0000
+++ b/player.h	Mon Oct 31 12:01:41 2005 +0000
@@ -5,6 +5,7 @@
 
 #include "aystar.h"
 #include "rail.h"
+#include "engine.h"
 
 typedef struct PlayerEconomyEntry {
 	int32 income;
@@ -187,7 +188,7 @@
 	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;