- set some more flags.

This commit is contained in:
Christoph Oelckers 2022-12-03 18:42:44 +01:00
parent 9641d3f712
commit fd26f7fd2d
2 changed files with 29 additions and 2 deletions

View file

@ -133,7 +133,21 @@ void initactorflags_d()
setflag(SFLAG_NOFALLER, { CRACK1, CRACK2, CRACK3, CRACK4, SPEAKER, LETTER, DUCK, TARGET, TRIPBOMB, VIEWSCREEN, VIEWSCREEN2 });
setflag(SFLAG2_NOROTATEWITHSECTOR, { LASERLINE });
setflag(SFLAG2_SHOWWALLSPRITEONMAP, { LASERLINE });
setflag(SFLAG2_NOFLOORPAL, { TRIPBOMB, LASERLINE });
setflag(SFLAG2_NOFLOORPAL, {
TRIPBOMB,
LASERLINE,
FORCESPHERE,
BURNING,
BURNING2,
ATOMICHEALTH,
CRYSTALAMMO,
VIEWSCREEN,
VIEWSCREEN2,
SHRINKSPARK,
GROWSPARK,
RPG,
RECON });
setflag(SFLAG2_EXPLOSIVE, { FIREEXT, RPG, RADIUSEXPLOSION, SEENINE, OOZFILTER });
setflag(SFLAG2_BRIGHTEXPLODE, { SEENINE, OOZFILTER });
setflag(SFLAG2_DOUBLEDMGTHRUST, { RADIUSEXPLOSION, RPG, HYDRENT, HEAVYHBOMB, SEENINE, OOZFILTER, EXPLODINGBARREL });

View file

@ -219,6 +219,18 @@ void initactorflags_r()
TOUGHGAL
});
setflag(SFLAG2_NOFLOORPAL, {
RESPAWNMARKERRED,
RESPAWNMARKERYELLOW,
RESPAWNMARKERGREEN,
FORCESPHERE,
BURNING,
ATOMICHEALTH,
CRYSTALAMMO,
SHITBALL,
RPG,
RECON,
});
// Animals were not supposed to have this, but due to a coding bug the logic was unconditional for everything in the game.
for (auto& ainf : gs.actorinfo)
{
@ -236,7 +248,8 @@ void initactorflags_r()
setflag(SFLAG2_SPAWNRABBITGUTS, { MAMA });
setflag(SFLAG2_ALTPROJECTILESPRITE, { CHEER, CHEERSTAYPUT });
setflag(SFLAG2_UNDERWATERSLOWDOWN, { RPG2 });
setflag(SFLAG2_ALWAYSROTATE2, { RPG2 });
setflag(SFLAG2_ALWAYSROTATE2, { RPG2, EMPTYBIKE, EMPTYBOAT });
setflag(SFLAG2_NOFLOORPAL, { CHEERBOMB, RPG2 });
}
else
{