src/player_base.h
branchnoai
changeset 9732 f8eb3e208514
parent 9724 b39bc69bb2f2
child 9837 c9ec4f82e0d0
--- a/src/player_base.h	Thu Feb 21 22:34:54 2008 +0000
+++ b/src/player_base.h	Fri Feb 22 00:25:54 2008 +0000
@@ -63,7 +63,7 @@
 	bool is_ai;
 	bool is_noai; ///< This is a NoAI player (for loading old savegames properly). Part of the NoAI 'hack' to retain savegame compatability with trunk
 
-	Money yearly_expenses[3][13];
+	Money yearly_expenses[3][EXPENSES_END];
 	PlayerEconomyEntry cur_economy;
 	PlayerEconomyEntry old_economy[24];
 	EngineRenewList engine_renew_list; ///< Defined later