From: Richard Kettlewell Date: Sat, 2 May 2009 10:14:34 +0000 (+0100) Subject: Correctly bracket check for resuming with a pause-incapable standalone X-Git-Tag: 5.0~119 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/c458dd3dd08cf839bf6bac393d36fb689af14df6 Correctly bracket check for resuming with a pause-incapable standalone player (which shouldn't happen in the first place, so the bug as it was was actually pretty harmless). --- diff --git a/server/play.c b/server/play.c index 3030901..f971991 100644 --- a/server/play.c +++ b/server/play.c @@ -763,7 +763,7 @@ void resume_playing(const char *who) { if(!playing) return; switch(playing->type & DISORDER_PLAYER_TYPEMASK) { case DISORDER_PLAYER_STANDALONE: - if(!playing->type & DISORDER_PLAYER_PAUSES) { + if(!(playing->type & DISORDER_PLAYER_PAUSES)) { default: /* Shouldn't happen */ return;