diff --git a/source/games/blood/src/aizombf.cpp b/source/games/blood/src/aizombf.cpp index abd037a88..58408e2d6 100644 --- a/source/games/blood/src/aizombf.cpp +++ b/source/games/blood/src/aizombf.cpp @@ -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); }