- Exhumed: fix position init in BuildfRat

This is only the cheat case, which is why this wasn’t detected earlier.
This commit is contained in:
Christoph Oelckers 2022-08-05 09:41:25 +02:00
parent 7e36e57639
commit c5ec2af020

View file

@ -89,6 +89,9 @@ void BuildRat(DExhumedActor* pActor, int x, int y, int z, sectortype* pSector, i
ChangeActorStat(pActor, 108);
}
pActor->spr.pos.X = x;
pActor->spr.pos.Y = y;
pActor->spr.pos.Z = z;
pActor->spr.cstat = CSTAT_SPRITE_BLOCK_ALL;
pActor->spr.shade = -12;
pActor->spr.xoffset = 0;