From 95ffc3a62bb91b6f6f86f69e129ce9e2b005acf4 Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 26 Jun 2021 12:56:35 -0700 Subject: [PATCH] Fix wrong bounds check when colliding with activity zones I am so stupid. --- desktop_version/src/Logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Logic.cpp b/desktop_version/src/Logic.cpp index 76064ccd..7f1fb3b4 100644 --- a/desktop_version/src/Logic.cpp +++ b/desktop_version/src/Logic.cpp @@ -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;