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
commit57f4ed3eddd57f33c683482281dd4a5c74c41d3c (patch)
tree292f9075cca2e5f7c9c3c9e1b59e2dacbc721a5e /src/player_gui.cpp
parent806c3e141dcab75cbdaa8e95495c3ca185deb650 (diff)
downloadopenttd-57f4ed3eddd57f33c683482281dd4a5c74c41d3c.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;