mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed the AngleToVector calls in stateprovider.txt.
This looks like a search & replace gone wrong.
This commit is contained in:
parent
c66dae9f2c
commit
a291ed21fe
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue