diff options
author | belugas <belugas@openttd.org> | 2008-02-09 02:49:33 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-02-09 02:49:33 +0000 |
commit | cf9447c15b78d84186afb7dc9bde986d415b1014 (patch) | |
tree | 292f9075cca2e5f7c9c3c9e1b59e2dacbc721a5e /src/player_base.h | |
parent | 9343ad44fd27fadf068122d4dbafc0680a36146d (diff) | |
download | openttd-cf9447c15b78d84186afb7dc9bde986d415b1014.tar.xz |
(svn r12090) -Codechange : removed a magic number and code style application on enum ExpensesType
Diffstat (limited to 'src/player_base.h')
-rw-r--r-- | src/player_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_base.h b/src/player_base.h index 7bc854029..43e6460eb 100644 --- a/src/player_base.h +++ b/src/player_base.h @@ -62,7 +62,7 @@ struct Player { bool is_active; bool is_ai; - Money yearly_expenses[3][13]; + Money yearly_expenses[3][EXPENSES_END]; PlayerEconomyEntry cur_economy; PlayerEconomyEntry old_economy[24]; EngineRenewList engine_renew_list; ///< Defined later |