Each Time Fix Fix: Don't infinite loop when each time is set to trigger on exit.

This commit is contained in:
ilag11111 2014-10-02 10:26:12 -07:00
parent 2191e5b9de
commit 97b61eb66d

View file

@ -2252,7 +2252,7 @@ void T_EachTimeThinker(levelspecthink_t *eachtime)
// This should now run ONLY the stuff for eachtime->sourceline itself, instead of all trigger linedefs sharing the same tag.
// Makes much more sense doing it this way, honestly.
P_RunTriggerLinedef(eachtime->sourceline, players[affectPlayer].mo, sec);
oldPlayersArea[affectPlayer]=1;
oldPlayersArea[affectPlayer]=playersArea[affectPlayer];
}
}