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)