From f2ed536c0fb7fccaf0ba44b139396f4f5011eccd Mon Sep 17 00:00:00 2001 From: Bukz Date: Fri, 27 May 2011 22:17:21 +0000 Subject: [PATCH] fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6474 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/scripts.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/scripts.cfg b/config/scripts.cfg index 8f5ab547..00df9bf8 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -137,7 +137,7 @@ grenades = [ weapon 8 ] altaction = [ (concatword altaction_ (curweapon)) ] checkmag = [ if (|| (magcontent $arg1) (magreserve $arg1)) [ result 1 ] [ result 0 ] ] -checkrange = [ if (&& (>= $arg1 $arg2) (<= $arg1 $arg3)) [ result 1 ] [ result 0 ] ] +checkrange = [ if (&& (>=f $arg1 $arg2) (<=f $arg1 $arg3)) [ result 1 ] [ result 0 ] ] quicknadethrow_old = [ if (> (magcontent 8) 0) [ @@ -196,7 +196,7 @@ delta_edit_5 = [ entproperty 0 $arg1 ] // Changes the first value on entitie delta_edit_6 = [ entproperty $editaxis $arg1 ] // Move map entity... delta_edit_7 = [ entproperty 1 $arg1 ] // Changes the second value on entities... delta_edit_8 = [ entproperty 2 $arg1 ] // Changes the third value on entities... -delta_edit_9 = [ entproperty 3 $arg1 ] // Changes the fourth value on entities...ss +delta_edit_9 = [ entproperty 3 $arg1 ] // Changes the fourth value on entities... // HUD toggles toggleshowmap = [ showmap 1; onrelease [ showmap 0 ] ]