- Fix ALWAYSFAST actor flag.

This commit is contained in:
drfrag 2021-01-13 15:33:49 +01:00 committed by Christoph Oelckers
parent 3261eb3643
commit 24cf27e9e2

View file

@ -4477,7 +4477,7 @@ void ConstructActor(AActor *actor, const DVector3 &pos, bool SpawningMapThing)
FRandom &rng = Level->BotInfo.m_Thinking ? pr_botspawnmobj : pr_spawnmobj;
if (!!(G_SkillProperty(SKILLP_InstantReaction) || !!(dmflags & DF_INSTANT_REACTION))
if ((!!G_SkillProperty(SKILLP_InstantReaction) || actor->flags5 & MF5_ALWAYSFAST || !!(dmflags & DF_INSTANT_REACTION))
&& actor->flags3 & MF3_ISMONSTER)
actor->reactiontime = 0;