From 97cc9a0bfd2447e0db5ddbaa707c1587845adf4f Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Thu, 11 Jul 2024 13:46:00 +0200 Subject: [PATCH] - [FIX] Ja no vola al botar a una porta --- source/actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/actor.cpp b/source/actor.cpp index 826474f..c7bb200 100644 --- a/source/actor.cpp +++ b/source/actor.cpp @@ -592,7 +592,7 @@ namespace actor if (act->react_mask) { // Si topetem en una vora de l'habitació, s'acabat el bot - if ((act->pos.x+act->size.x)>max.x || act->pos.xpos.y+act->size.y)>max.y || act->pos.yreact_push=9; + if ((act->pos.x+act->size.x)>max.x || act->pos.xpos.y+act->size.y)>max.y || act->pos.yreact_push=0; // Si encara està botant (react_push > 0)... if (act->react_push>0)