mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-14 08:30:35 +00:00
- Blood: Fix bad spawned actor angle for actFireMissile()
.
* Originating from a8cc6c1189
.
* Fixes #837.
This commit is contained in:
parent
1438bb5e80
commit
1d0e9b369e
1 changed files with 1 additions and 1 deletions
|
@ -6459,7 +6459,7 @@ DBloodActor* actFireMissile(DBloodActor* actor, double xyoff, double zoff, DVect
|
|||
|
||||
spawned->spr.scale = DVector2(pMissileInfo->xrepeat * REPEAT_SCALE, pMissileInfo->yrepeat * REPEAT_SCALE);
|
||||
spawned->spr.picnum = pMissileInfo->picnum;
|
||||
spawned->spr.Angles.Yaw = actor->spr.Angles.Yaw += mapangle(pMissileInfo->angleOfs);
|
||||
spawned->spr.Angles.Yaw = actor->spr.Angles.Yaw + mapangle(pMissileInfo->angleOfs);
|
||||
spawned->vel = dv * pMissileInfo->fVelocity();
|
||||
spawned->SetOwner(actor);
|
||||
spawned->spr.cstat |= CSTAT_SPRITE_BLOCK;
|
||||
|
|
Loading…
Reference in a new issue