summaryrefslogtreecommitdiff
path: root/src/player_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-02-09 02:49:33 +0000
committerbelugas <belugas@openttd.org>2008-02-09 02:49:33 +0000
commitcf9447c15b78d84186afb7dc9bde986d415b1014 (patch)
tree292f9075cca2e5f7c9c3c9e1b59e2dacbc721a5e /src/player_gui.cpp
parent9343ad44fd27fadf068122d4dbafc0680a36146d (diff)
downloadopenttd-cf9447c15b78d84186afb7dc9bde986d415b1014.tar.xz
(svn r12090) -Codechange : removed a magic number and code style application on enum ExpensesType
Diffstat (limited to 'src/player_gui.cpp')
-rw-r--r--src/player_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_gui.cpp b/src/player_gui.cpp
index 01fd4e233..0bf6815e8 100644
--- a/src/player_gui.cpp
+++ b/src/player_gui.cpp
@@ -46,7 +46,7 @@ static void DoSelectPlayerFace(PlayerID player, bool show_big);
static void DrawPlayerEconomyStats(const Player *p, byte mode)
{
int x, y, i, j, year;
- const Money (*tbl)[13];
+ const Money (*tbl)[EXPENSES_END];
Money sum, cost;
StringID str;