- added a CANUSEWALLS flag which allows a monster to activate 'use' specials
like doors. This flag is on by default for any monster which was the previous behavior. - Optimized the DECORATE flag parser so it can more efficiently handle the deprecated flags. As a side effect of this optimization the deprecated flags became usable in A_ChangeFlag again. - Changed LONGMELEERANGE flag into a MeleeThreshold property. - Changed SHORTMISSILERANGE flag into a MaxTargetRange property. - Added Thing_Stop action special. SVN r517 (trunk)
This commit is contained in:
parent
8c7d4fb393
commit
9deec29b34
11 changed files with 154 additions and 49 deletions
|
|
@ -416,6 +416,7 @@ void FActorInfo::ApplyDefaults (BYTE *defaults)
|
|||
if (((AActor *)defaults)->flags & MF_COUNTKILL)
|
||||
{
|
||||
((AActor *)defaults)->flags3 |= MF3_ISMONSTER;
|
||||
((AActor *)defaults)->flags4 |= MF4_CANUSEWALLS; // I won't bother changing all internal monster definitions so let's set this here.
|
||||
}
|
||||
// Any default projectile in Raven's games produces blood splatter
|
||||
if (gameinfo.gametype & GAME_Raven && ((AActor *)defaults)->flags & MF_MISSILE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue