mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-06-28 23:48:30 +02: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
|
@ -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 New Issue
Block a user