- Duke: Do not set SFLAG_BADGUY for internal bad guys.

This will pass an incorrect value for clipdist to clipmove.
This commit is contained in:
Christoph Oelckers 2023-04-10 08:56:37 +02:00
parent 3df7539eb9
commit 7b1ef9e020

View file

@ -304,7 +304,6 @@ bool commonEnemySetup(DDukeActor* self, DDukeActor* owner)
self->clipdist = 20;
if (self->flags1 & SFLAG_INTERNAL_BADGUY)
{
self->flags1 |= SFLAG_BADGUY; // simplify future checks.
self->spr.scale = DVector2(0.625, 0.625);
}