mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Fix wrong variable being bounds-checked when collecting trinket
I was working on another PR, and spotted this. This is a GIANT whoops moment right here!
This commit is contained in:
parent
7f55b0e887
commit
174e804c6b
1 changed files with 1 additions and 1 deletions
|
@ -2584,7 +2584,7 @@ bool entityclass::updateentities( int i )
|
|||
if (entities[i].state == 1)
|
||||
{
|
||||
music.playef(4);
|
||||
if (INBOUNDS_ARR(entities[i].para, customcollect))
|
||||
if (INBOUNDS_ARR(entities[i].para, collect))
|
||||
{
|
||||
collect[(int) entities[i].para] = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue