summaryrefslogtreecommitdiff
path: root/player_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-13 20:46:39 +0000
committerdarkvater <darkvater@openttd.org>2005-01-13 20:46:39 +0000
commit2257e03c331ba6b91f83e811b2ed834f721040cc (patch)
tree14f7f4b3f73aae4e412e55b6ad6dc42d9ff4dbf2 /player_gui.c
parentcd2779dc67d4ac5d17cbd6a38528a52a14789709 (diff)
downloadopenttd-2257e03c331ba6b91f83e811b2ed834f721040cc.tar.xz
(svn r1502) -Fix: [1101889] Crash under windows... stupid typo in player_gui.c ^ should've been &
-Fix: in multiplayer clientlist can only be opened once
Diffstat (limited to 'player_gui.c')
-rw-r--r--player_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player_gui.c b/player_gui.c
index da4e2eaa5..bb5606c95 100644
--- a/player_gui.c
+++ b/player_gui.c
@@ -163,7 +163,7 @@ static void PlayerFinancesWndProc(Window *w, WindowEvent *e)
bool stickied = !!(w->flags4 & WF_STICKY);
int player = w->window_number;
DeleteWindow(w);
- DoShowPlayerFinances(player, mode^1, stickied);
+ DoShowPlayerFinances(player, !HASBIT(mode, 0), stickied);
} break;
case 6: /* increase loan */