mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01:00
Fix wrong bounds check when colliding with activity zones
I am so stupid.
This commit is contained in:
parent
88d31ab3b6
commit
95ffc3a62b
1 changed files with 1 additions and 1 deletions
|
@ -1599,7 +1599,7 @@ void gamelogic(void)
|
||||||
game.activeactivity = obj.checkactivity();
|
game.activeactivity = obj.checkactivity();
|
||||||
|
|
||||||
if (game.hascontrol && !script.running
|
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_lastprompt = obj.blocks[game.activeactivity].prompt;
|
||||||
game.activity_r = obj.blocks[game.activeactivity].r;
|
game.activity_r = obj.blocks[game.activeactivity].r;
|
||||||
|
|
Loading…
Reference in a new issue