mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
- 2x copy_clipdist
This commit is contained in:
parent
ef47040630
commit
f777e84c75
1 changed files with 2 additions and 2 deletions
|
@ -1897,7 +1897,7 @@ DBloodActor* genDudeSpawn(DBloodActor* source, DBloodActor* actor, int nDist)
|
|||
|
||||
// inherit clipdist?
|
||||
if (source->spr.clipdist > 0)
|
||||
spawned->spr.clipdist = source->spr.clipdist;
|
||||
spawned->copy_clipdist(source);
|
||||
|
||||
// inherit custom hp settings
|
||||
if (source->xspr.data4 <= 0) spawned->xspr.health = dudeInfo[nType - kDudeBase].startHealth << 4;
|
||||
|
@ -1980,7 +1980,7 @@ void genDudeTransform(DBloodActor* actor)
|
|||
actor->spr.flags = actIncarnation->spr.flags;
|
||||
actor->spr.pal = actIncarnation->spr.pal;
|
||||
actor->spr.shade = actIncarnation->spr.shade;
|
||||
actor->spr.clipdist = actIncarnation->spr.clipdist;
|
||||
actor->copy_clipdist(actIncarnation);
|
||||
actor->spr.xrepeat = actIncarnation->spr.xrepeat;
|
||||
actor->spr.yrepeat = actIncarnation->spr.yrepeat;
|
||||
|
||||
|
|
Loading…
Reference in a new issue