diff options
author | darkvater <darkvater@openttd.org> | 2004-12-23 19:33:17 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-12-23 19:33:17 +0000 |
commit | 0533d9ff6ea5dd78f432d7f9746992d3474803e5 (patch) | |
tree | 9e163191780a1a28ccd9d54a4f6568c1bc5a482e /player_gui.c | |
parent | f5b68e2d9dcb34e94736565d231871d06c86250e (diff) | |
download | openttd-0533d9ff6ea5dd78f432d7f9746992d3474803e5.tar.xz |
(svn r1260) -Fix: [1090357] Patch for braindead MinGW compiler (luzi82)
Diffstat (limited to 'player_gui.c')
-rw-r--r-- | player_gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/player_gui.c b/player_gui.c index 89d35caf1..824701942 100644 --- a/player_gui.c +++ b/player_gui.c @@ -16,7 +16,7 @@ #include "network_client.h" #endif -static void DoShowPlayerFinances(int player, bool small); +static void DoShowPlayerFinances(int player, bool show_small); static void DrawPlayerEconomyStats(Player *p, byte mode) @@ -210,12 +210,12 @@ static const WindowDesc * const desc_table[2*2] = { &_other_player_finances_desc,&_other_player_finances_small_desc, }; -static void DoShowPlayerFinances(int player, bool small) +static void DoShowPlayerFinances(int player, bool show_small) { Window *w; int mode; - mode = ((byte)player != _local_player)*2 + small; + mode = ((byte)player != _local_player)*2 + show_small; w = AllocateWindowDescFront( desc_table[mode], player); if (w) { w->caption_color = w->window_number; |