summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
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 =