diff options
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main_gui.c b/main_gui.c index 17acb1256..5f62fa956 100644 --- a/main_gui.c +++ b/main_gui.c @@ -2226,10 +2226,10 @@ void SetupColorsAndInitialWindow() w = AllocateWindowDesc(&_toolb_normal_desc); w->disabled_state = 1 << 17; // disable zoon-in button (by default game is zoomed in) - if (_networking) { // if networking, disable fast-forward button
- w->disabled_state |= (1 << 1);
- if (!_networking_server) // if not server, disable pause button
- w->disabled_state |= (1 << 0);
+ if (_networking) { // if networking, disable fast-forward button + w->disabled_state |= (1 << 1); + if (!_networking_server) // if not server, disable pause button + w->disabled_state |= (1 << 0); } w->flags4 &= ~WF_WHITE_BORDER_MASK; |