- float stuff in g_raven.

- fixed some problems in previous commits.
This commit is contained in:
Christoph Oelckers 2016-03-22 02:29:43 +01:00
commit 5a4b974187
4 changed files with 37 additions and 43 deletions

View file

@ -1401,7 +1401,7 @@ void FParser::SF_PointToAngle(void)
double x2 = floatvalue(t_argv[2]);
double y2 = floatvalue(t_argv[3]);
t_return.setDouble(DVector2(x2 - x1, y2 - y1).Angle().BAMs);
t_return.setDouble(DVector2(x2 - x1, y2 - y1).Angle().Normalized360().Degrees);
}
}