summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:15 +0200
commit91496cdb54e11d8ac746bb6982b0ade24c035503 (patch)
treeb99f519ea9b4e85e48f3b6fe9cb1c288a92a83f7
parent9edb8f8a9eb94ca6150a13900716750a710a74bc (diff)
fix an apparently WRONG parenthesization
-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 =