From baf406cb6ac3d1c7f3bbd29191b685856ef268df Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Mon, 28 Aug 2006 17:37:15 +0000 Subject: [PATCH] Fixed bug with floatatan() returning wrong values when trying to get angle in degrees or grades --- amxmodx/float.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/amxmodx/float.cpp b/amxmodx/float.cpp index 90776f74..64fae73d 100755 --- a/amxmodx/float.cpp +++ b/amxmodx/float.cpp @@ -368,7 +368,6 @@ static cell AMX_NATIVE_CALL n_floatatan(AMX *amx, cell *params) * params[2] = radix */ REAL fA = amx_ctof(params[1]); - fA = ToRadians(fA, params[2]); fA = atan(fA); fA = FromRadians(fA, params[2]); return amx_ftoc(fA);