- fixed the AngleToVector calls in stateprovider.txt.

This looks like a search & replace gone wrong.
This commit is contained in:
Christoph Oelckers 2018-12-02 00:40:52 +01:00
parent c66dae9f2c
commit a291ed21fe

View file

@ -123,7 +123,7 @@ class StateProvider : Inventory
{
bool temp = false;
double ang = Angle - 90;
Vector2 ofs = AngleToVector(Spawnofs_xy);
Vector2 ofs = AngleToVector(ang, Spawnofs_xy);
Actor proj = SpawnPlayerMissile(missile, bangle, ofs.X, ofs.Y, Spawnheight);
if (proj)
{
@ -167,7 +167,7 @@ class StateProvider : Inventory
{
bool temp = false;
double ang = Angle - 90;
Vector2 ofs = AngleToVector(Spawnofs_xy);
Vector2 ofs = AngleToVector(ang, Spawnofs_xy);
Actor proj = SpawnPlayerMissile(missile, bangle, ofs.X, ofs.Y, Spawnheight);
if (proj)
{
@ -209,7 +209,7 @@ class StateProvider : Inventory
if (ti)
{
double ang = Angle - 90;
Vector2 ofs = AngleToVector(Spawnofs_xy);
Vector2 ofs = AngleToVector(ang, spawnofs_xy);
double shootangle = Angle;
if (flags & FPF_AIMATANGLE) shootangle += spawnangle;