mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +00:00
- 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:
parent
7e36e57639
commit
c5ec2af020
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue