- Duke: tweaked the egg a little so that it does not run through the enemy init logic.

This commit is contained in:
Christoph Oelckers 2023-04-11 21:30:12 +02:00
parent 09cdc497bd
commit f7d1838266

View file

@ -422,7 +422,6 @@ class DukeEgg : DukeActor
default
{
pic "EGG";
+BADGUY;
}
override void Initialize()
@ -434,7 +433,7 @@ class DukeEgg : DukeActor
}
else
{
self.scale = (0.625, 0.625);
self.bINTERNAL_BADGUY = true; // the egg needs this flag, but it should not run through the monster init code.
self.clipdist = 6;
self.cstat = CSTAT_SPRITE_BLOCK_ALL | randomXFlip();
self.ChangeStat(STAT_ZOMBIEACTOR);