Forgot to change updater to look for newest full DBs

This commit is contained in:
hondacrx
2022-08-09 11:03:35 -04:00
parent dacf9b1992
commit 02452aaa3d
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -163,7 +163,7 @@ namespace Game.Movement
if (facing.type == MonsterMoveType.FacingAngle)
orientation = facing.angle;
else if (facing.type == MonsterMoveType.FacingSpot)
orientation = (float)Math.Atan2(facing.f.Y - c.Y, facing.f.X - c.X);
orientation = MathF.Atan2(facing.f.Y - c.Y, facing.f.X - c.X);
//nothing to do for MoveSplineFlag.Final_Target flag
}
else
@@ -172,11 +172,11 @@ namespace Game.Movement
{
Vector3 hermite;
spline.Evaluate_Derivative(point_Idx, u, out hermite);
orientation = (float)MathF.Atan2(hermite.Y, hermite.X);
orientation = MathF.Atan2(hermite.Y, hermite.X);
}
if (splineflags.HasFlag(SplineFlag.Backward))
orientation -= (float)Math.PI;
orientation -= MathF.PI;
}
return new Vector4(c.X, c.Y, c.Z, orientation);