X-Git-Url: http://git.shiar.net/netris.git/blobdiff_plain/2708de3d9437a12ee943f0740830aa97d9c3c136..a078512cb2e78dfb67a5e2564d9168fffe830c68:/client.c diff --git a/client.c b/client.c index e3a2ffc..344a440 100644 --- a/client.c +++ b/client.c @@ -73,7 +73,7 @@ static char *cmds[] = { }; static char *hostStr; -static int paused = 0; +static bool paused = 0; static char lastadd; @@ -251,8 +251,7 @@ void game_setpaused(void) paused = Game.started < 1; for (i = 1; i < MAX_SCREENS; i++) if (Players[i].alive > 0) - paused |= Players[i].flags & SCF_paused; - if (paused) paused = 1; + paused |= (Players[i].flags & SCF_paused) != 0; } void game_reset(void)