mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-29 07:21:54 +00:00
- Blood: Fix bad spawned actor angle for actFireMissile()
.
* Originating from a8cc6c1189
.
* Fixes #837.
This commit is contained in:
parent
b40e5d200c
commit
8a5501480e
1 changed files with 1 additions and 1 deletions
|
@ -6466,7 +6466,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.angle = actor->spr.angle += mapangle(pMissileInfo->angleOfs);
|
||||
spawned->spr.angle = actor->spr.angle + mapangle(pMissileInfo->angleOfs);
|
||||
spawned->vel = dv * pMissileInfo->fVelocity();
|
||||
spawned->SetOwner(actor);
|
||||
spawned->spr.cstat |= CSTAT_SPRITE_BLOCK;
|
||||
|
|
Loading…
Reference in a new issue