- Blood: Fix bad spawned actor angle for actFireMissile().

* Originating from a8cc6c1189.
* Fixes #837.
This commit is contained in:
Mitchell Richters 2023-01-06 17:55:40 +11:00
parent b40e5d200c
commit 8a5501480e

View file

@ -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;