mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 12:30:40 +00:00
- Blood: fixed blood splats being spawned in the wrong place.
This commit is contained in:
parent
32071c4460
commit
521a59fd26
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ void fxBloodBits(DBloodActor* actor, sectortype*) // 14
|
|||
actor->spr.pos.Z += floorZ - bottom;
|
||||
DAngle nAngle = RandomAngle();
|
||||
int nDist = Random(16);
|
||||
auto pos = nAngle.ToVector() * nDist * 4;
|
||||
auto pos = actor->spr.pos + nAngle.ToVector() * nDist * 4;
|
||||
gFX.fxSpawnActor(FX_48, actor->sector(), DVector3(pos, actor->spr.pos.Z));
|
||||
if (actor->spr.Angles.Yaw == DAngle180)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue