mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59: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)
|
if (entities[i].state == 1)
|
||||||
{
|
{
|
||||||
music.playef(4);
|
music.playef(4);
|
||||||
if (INBOUNDS_ARR(entities[i].para, customcollect))
|
if (INBOUNDS_ARR(entities[i].para, collect))
|
||||||
{
|
{
|
||||||
collect[(int) entities[i].para] = true;
|
collect[(int) entities[i].para] = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue