mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- let A_SpawnParticle respect the float bob offset
This commit is contained in:
parent
18ebc9986e
commit
29d1739371
1 changed files with 1 additions and 1 deletions
|
@ -1649,7 +1649,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_SpawnParticle)
|
|||
if (flags & SPF_RELANG) angle += self->Angles.Yaw;
|
||||
double s = angle.Sin();
|
||||
double c = angle.Cos();
|
||||
DVector3 pos(xoff, yoff, zoff);
|
||||
DVector3 pos(xoff, yoff, zoff + self->GetBobOffset());
|
||||
DVector3 vel(xvel, yvel, zvel);
|
||||
DVector3 acc(accelx, accely, accelz);
|
||||
//[MC] Code ripped right out of A_SpawnItemEx.
|
||||
|
|
Loading…
Reference in a new issue