mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01: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:
parent
77b47a3c7e
commit
743eb3f3d6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue