From e9aafcf01abc10221cc43826dceffc4485b87652 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Tue, 5 Dec 2023 14:50:22 -0600 Subject: [PATCH] fix --- maps/mp/bots/_bot_utility.gsc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maps/mp/bots/_bot_utility.gsc b/maps/mp/bots/_bot_utility.gsc index 774f2da..edc3ebb 100644 --- a/maps/mp/bots/_bot_utility.gsc +++ b/maps/mp/bots/_bot_utility.gsc @@ -1263,7 +1263,7 @@ readWpsFromFile( mapname ) /* converts a string into a float */ -float( num ) +float_old( num ) { setCvar( "temp_dvar_bot_util", num ); @@ -1311,7 +1311,7 @@ loadmbotWps( mapname, gametype ) break; wp = spawnStruct(); - wp.origin = ( float( t[0] ), float( t[1] ), float( t[2] ) ); + wp.origin = ( float_old( t[0] ), float_old( t[1] ), float_old( t[2] ) ); stance = "stand"; @@ -1344,7 +1344,7 @@ loadmbotWps( mapname, gametype ) if ( ( t.size == 9 && t[3] == "w" && t[5] == "1" ) || t[3] == "g" || t[3] == "c" ) { k += 6; - wp.angles = ( float( t[k] ), float( t[k + 1] ), 0.0 ); + wp.angles = ( float_old( t[k] ), float_old( t[k + 1] ), 0.0 ); } wps[i] = wp;