mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r1260) -Fix: [1090357] Patch for braindead MinGW compiler (luzi82)
This commit is contained in:
parent
f5b68e2d9d
commit
0533d9ff6e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user