- removed redundant function call.

This commit is contained in:
Christoph Oelckers 2022-09-28 14:02:06 +02:00
parent 6e03f87671
commit 9b9116986b

View file

@ -365,8 +365,6 @@ static void beastThinkSwimChase(DBloodActor* actor)
{
DAngle nDeltaAngle = absangle(actor->spr.angle, nAngle);
double height = (pDudeInfo->eyeHeight * actor->spr.yrepeat) * REPEAT_SCALE;
int top, bottom;
GetActorExtents(actor, &top, &bottom);
if (cansee(target->spr.pos, target->sector(), actor->spr.pos.plusZ(-height), actor->sector()))
{
if (nDist < pDudeInfo->SeeDist() && nDeltaAngle <= pDudeInfo->Periphery())