mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user