1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

Disable two-frame delay fix in glitchrunner mode

The two-frame delay can be utilized to trigger a glitch that spawns
entities in the wrong room.
This commit is contained in:
Misa 2020-06-29 15:32:07 -07:00 committed by Ethan Lee
parent d4592cd6b3
commit 66d19d4cf4

View File

@ -1988,7 +1988,8 @@ void mapclass::twoframedelayfix()
// and when the script gets loaded script.run() has already ran for that frame, too.
// A bit kludge-y, but it's the least we can do without changing the frame ordering.
if (game.deathseq != -1
if (game.glitchrunnermode
|| game.deathseq != -1
// obj.checktrigger() sets obj.activetrigger
|| obj.checktrigger() <= -1
|| obj.activetrigger < 300)