- NODAMAGEPUSH is the default for RR.

The game never had this feature
This commit is contained in:
Christoph Oelckers 2022-12-20 20:08:12 +01:00
parent b908ede470
commit 510afe16fb
2 changed files with 5 additions and 7 deletions

View file

@ -399,6 +399,10 @@ DEFINE_PROPERTY(lookallarounddefault,0, DukeActor)
{ {
PROP_INT_PARM(i, 0); PROP_INT_PARM(i, 0);
if (!isRR()) defaults->flags1 |= SFLAG_LOOKALLAROUND; // feature comes from RR, but we want the option in Duke as well, so this fake property sets the default if (!isRR()) defaults->flags1 |= SFLAG_LOOKALLAROUND; // feature comes from RR, but we want the option in Duke as well, so this fake property sets the default
else defaults->flags1 |= SFLAG_MOVEFTA_WAKEUPCHECK; // Animals were not supposed to have this, but due to a coding bug the logic was unconditional for everything in the game. else
{
defaults->flags1 |= SFLAG_MOVEFTA_WAKEUPCHECK; // Animals were not supposed to have this, but due to a coding bug the logic was unconditional for everything in the game.
defaults->flags2 |= SFLAG2_NODAMAGEPUSH; // RR does not have this feature, so set the flag for everything, this allows disabling it if wanted later.
}
} }

View file

@ -103,7 +103,6 @@ class RedneckCootplay : DukeActor
pic "COOTPLAY"; pic "COOTPLAY";
+INTERNAL_BADGUY; +INTERNAL_BADGUY;
+LOOKALLAROUND; +LOOKALLAROUND;
+NODAMAGEPUSH;
+NORADIUSPUSH; +NORADIUSPUSH;
} }
override void Initialize() override void Initialize()
@ -121,7 +120,6 @@ class RedneckBillyPlay : DukeActor
pic "BILLYPLAY"; pic "BILLYPLAY";
+INTERNAL_BADGUY; +INTERNAL_BADGUY;
+LOOKALLAROUND; +LOOKALLAROUND;
+NODAMAGEPUSH;
+NORADIUSPUSH; +NORADIUSPUSH;
} }
override void Initialize() override void Initialize()
@ -210,7 +208,6 @@ class RedneckMamaCloud : DukeActor
default default
{ {
pic "MAMACLOUD"; pic "MAMACLOUD";
+NODAMAGEPUSH;
+NORADIUSPUSH; +NORADIUSPUSH;
} }
override void Initialize() override void Initialize()
@ -231,7 +228,6 @@ class RedneckMama : DukeActor
+INTERNAL_BADGUY; +INTERNAL_BADGUY;
+KILLCOUNT; +KILLCOUNT;
+LOOKALLAROUND; +LOOKALLAROUND;
+NODAMAGEPUSH;
+NORADIUSPUSH; +NORADIUSPUSH;
+SPAWNRABBITGUTS; // owed to CON's shittiness. Todo: Think of something better. +SPAWNRABBITGUTS; // owed to CON's shittiness. Todo: Think of something better.
} }
@ -302,7 +298,6 @@ class RedneckShitBoss : DukeActor
+FULLBRIGHT; +FULLBRIGHT;
+INTERNAL_BADGUY; +INTERNAL_BADGUY;
+KILLCOUNT; +KILLCOUNT;
+NODAMAGEPUSH;
+NORADIUSPUSH; +NORADIUSPUSH;
} }
@ -337,7 +332,6 @@ class RedneckHulk : DukeActor
pic "HULK"; pic "HULK";
+INTERNAL_BADGUY; +INTERNAL_BADGUY;
+KILLCOUNT; +KILLCOUNT;
+NODAMAGEPUSH;
+NORADIUSPUSH; +NORADIUSPUSH;
} }