mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 22:34:21 +03:00
Add custommode check to mapclass::twoframedelayfix()
This is to ensure that this function only has an effect inside custom levels. It might do something weird or bad in the main game.
This commit is contained in:
1 parent
77b47a3c7e
commit
743eb3f3d6
1 file changed
+1
@@ -2126,6 +2126,7 @@ void mapclass::twoframedelayfix()
|
||||
|
||||
int block_idx = -1;
|
||||
if (game.glitchrunnermode
|
||||
|| !custommode
|
||||
|| game.deathseq != -1
|
||||
// obj.checktrigger() sets obj.activetrigger and block_idx
|
||||
|| obj.checktrigger(&block_idx) <= -1
|
||||
|
||||
Reference in new issue
Block a user