From 85da3d208269b18a2e177d0a27ad85df4e11b7d1 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 24 Oct 2009 14:50:23 +0000 Subject: [PATCH] add parens for clarity --- xwords4/common/nwgamest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/common/nwgamest.c b/xwords4/common/nwgamest.c index 9085efed4..8063e2f28 100644 --- a/xwords4/common/nwgamest.c +++ b/xwords4/common/nwgamest.c @@ -121,7 +121,7 @@ newg_load( NewGameCtx* ngc, const CurGameInfo* gi ) } ngc->role = role = gi->serverRole; - localOnly = role == SERVER_ISCLIENT && ngc->isNewGame; + localOnly = (role == SERVER_ISCLIENT) && ngc->isNewGame; #ifndef XWFEATURE_STANDALONE_ONLY value.ng_role = role; (*ngc->setAttrProc)( closure, NG_ATTR_ROLE, value );