From 91496cdb54e11d8ac746bb6982b0ade24c035503 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 13 Apr 2017 11:30:00 +0000 Subject: fix an apparently WRONG parenthesization --- src/game/g_buildable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 5a2698b..4b89c82 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -3736,7 +3736,7 @@ static gentity_t *G_Build( gentity_t *builder, buildable_t buildable, vec3_t ori built->killedBy = ENTITYNUM_NONE; // build instantly in cheat mode - if( builder->client && g_cheats.integer || g_instantBuild.integer ) + if( builder->client && ( g_cheats.integer || g_instantBuild.integer ) ) { built->health = BG_FindHealthForBuildable( buildable ); built->buildTime = built->s.time = -- cgit