1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Fix wrong bounds check when colliding with activity zones

I am so stupid.
This commit is contained in:
Misa 2021-06-26 12:56:35 -07:00 committed by Ethan Lee
parent 88d31ab3b6
commit 95ffc3a62b

View file

@ -1599,7 +1599,7 @@ void gamelogic(void)
game.activeactivity = obj.checkactivity();
if (game.hascontrol && !script.running
&& INBOUNDS_VEC(game.activeactivity, obj.entities))
&& INBOUNDS_VEC(game.activeactivity, obj.blocks))
{
game.activity_lastprompt = obj.blocks[game.activeactivity].prompt;
game.activity_r = obj.blocks[game.activeactivity].r;