Fix a couple warnings new qfcc gave.

This commit is contained in:
Jeff Teunissen 2004-02-11 10:01:45 +00:00
parent e288b1a18a
commit 5d0b7f81ed
1 changed files with 2 additions and 2 deletions

View File

@ -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");