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 | 2ba5faed6c862057393eea9af9445edc3a9b1603 (patch) | |
tree | 9e163191780a1a28ccd9d54a4f6568c1bc5a482e | |
parent | ef32da999c04894b1c9c8c9f80eafba095a0e76d (diff) | |
download | openttd-2ba5faed6c862057393eea9af9445edc3a9b1603.tar.xz |
(svn r1260) -Fix: [1090357] Patch for braindead MinGW compiler (luzi82)
-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; |