mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01:00
Don't use bounds check for checktrigger() in twoframedelayfix()
This is like the previous patch, but for twoframedelayfix(), because I forgot to read the comment that talked about twoframedelayfix().
This commit is contained in:
parent
c8f000af02
commit
fe56764fbc
1 changed files with 1 additions and 1 deletions
|
@ -2101,7 +2101,7 @@ void mapclass::twoframedelayfix()
|
|||
|| !custommode
|
||||
|| game.deathseq != -1
|
||||
// obj.checktrigger() sets obj.activetrigger and block_idx
|
||||
|| !INBOUNDS_VEC(obj.checktrigger(&block_idx), obj.entities)
|
||||
|| obj.checktrigger(&block_idx) <= -1
|
||||
|| !INBOUNDS_VEC(block_idx, obj.blocks)
|
||||
|| obj.activetrigger < 300)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue