mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-20 18:42:17 +00:00
- fixed bad attempt at restoring position in A_CustomBulletAttack.
This commit is contained in:
parent
cc34946e80
commit
ff12eab7e5
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ extend class Actor
|
|||
double x = Spawnofs_xy * cos(pangle);
|
||||
double y = Spawnofs_xy * sin(pangle);
|
||||
|
||||
let pos = self.pos;
|
||||
SetXYZ(Vec3Offset(x, y, 0.));
|
||||
let proj = SpawnMissileAngleZSpeed(Pos.Z + GetBobOffset() + Spawnheight, missile, self.Angle, 0, GetDefaultByType(missile).Speed, self, false);
|
||||
SetXYZ(pos);
|
||||
|
|
Loading…
Reference in a new issue