mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- fixed two bad scale checks in Blood's fat zombie.
This commit is contained in:
parent
6a3a811a42
commit
4a3ff0bd50
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@ void zombfHackSeqCallback(int, DBloodActor* actor)
|
|||
if (!actor->ValidateTarget(__FUNCTION__)) return;
|
||||
auto target = actor->GetTarget();
|
||||
DUDEINFO* pDudeInfo = getDudeInfo(actor->spr.type);
|
||||
double height = pDudeInfo->eyeHeight * actor->spr.yrepeat * REPEAT_SCALE * 0.25;
|
||||
double height = pDudeInfo->eyeHeight * actor->spr.ScaleY() * 0.25;
|
||||
DUDEINFO* pDudeInfoT = getDudeInfo(target->spr.type);
|
||||
double height2 = pDudeInfoT->eyeHeight * target->spr.yrepeat * REPEAT_SCALE * 0.25;
|
||||
double height2 = pDudeInfoT->eyeHeight * target->spr.ScaleY() * 0.25;
|
||||
actFireVector(actor, 0, 0, DVector3(actor->spr.angle.ToVector() * 64, height - height2), kVectorCleaver);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue