mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Duke: fixed skill filter handling for CON defined enemies.
This commit is contained in:
parent
0380ef3b80
commit
ce34ef2921
1 changed files with 1 additions and 0 deletions
|
@ -496,6 +496,7 @@ void GameInterface::FinalizeSetup()
|
|||
// do not enable KILLCOUNT if it the base is a non-counting badguy. This is needed for RR's animals.
|
||||
if (check == EDukeFlags1::FromInt(SFLAG_BADGUY)) fb &= ~SFLAG_KILLCOUNT;
|
||||
def->flags1 = (def->flags1 & ~fb) | (actinf.enemyflags & fb);
|
||||
if (def->flags1 & SFLAG_KILLCOUNT) def->flags1 |= SFLAG_SKILLFILTER;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue