From 5d0b7f81edd99005b7dfeccd3d258097e91dbe3d Mon Sep 17 00:00:00 2001 From: Jeff Teunissen Date: Wed, 11 Feb 2004 10:01:45 +0000 Subject: [PATCH] Fix a couple warnings new qfcc gave. --- ParoxysmII/source/client.r | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ParoxysmII/source/client.r b/ParoxysmII/source/client.r index 878e2e6..a136428 100644 --- a/ParoxysmII/source/client.r +++ b/ParoxysmII/source/client.r @@ -87,7 +87,7 @@ entity() FindIntermission = local float cyc; // look for info_intermission first - if (spot = find (world, classname, "info_intermission")) { // pick a random one + if ((spot = find (world, classname, "info_intermission"))) { // pick a random one cyc = random() * 4; while (cyc > 1) { spot = find (spot, classname, "info_intermission"); @@ -99,7 +99,7 @@ entity() FindIntermission = } // then look for the start position - if (spot = find (world, classname, "info_player_start")) + if ((spot = find (world, classname, "info_player_start"))) return spot; objerror ("FindIntermission: no spot");