From e979252742ac5516fa53c50c38334120c70fcf57 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 31 Aug 2004 22:40:30 +0000 Subject: [PATCH] More fixes from malex --- amxmodx/float.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/amxmodx/float.cpp b/amxmodx/float.cpp index 2b22a9c9..5350e7a3 100755 --- a/amxmodx/float.cpp +++ b/amxmodx/float.cpp @@ -385,7 +385,6 @@ static cell AMX_NATIVE_CALL n_floatacos(AMX *amx, cell *params) * params[2] = radix */ REAL fA = amx_ctof(params[1]); - fA = ToRadians(fA, params[2]); fA = acos(fA); fA = FromRadians(fA, params[2]); return amx_ftoc(fA); @@ -402,7 +401,6 @@ static cell AMX_NATIVE_CALL n_floatasin(AMX *amx, cell *params) * params[2] = radix */ REAL fA = amx_ctof(params[1]); - fA = ToRadians(fA, params[2]); fA = asin(fA); fA = FromRadians(fA, params[2]); return amx_ftoc(fA); @@ -423,7 +421,7 @@ static cell AMX_NATIVE_CALL n_floatatan2(AMX *amx, cell *params) REAL fB = amx_ctof(params[2]); REAL fC; fC = atan2(fA, fB); - fC = FromRadians(fA, params[3]); + fC = FromRadians(fC, params[3]); return amx_ftoc(fC); }