diff --git a/src/battle/rope.c b/src/battle/rope.c index fbe9d1c..3b1e85b 100644 --- a/src/battle/rope.c +++ b/src/battle/rope.c @@ -38,10 +38,10 @@ void attachRope(void) if (distance > 0 && distance <= self->separationRadius) { self->towing = e; - e->owner = self; - self->aiFlags |= AIF_GOAL_JUMPGATE; + e->owner = self; + e->speed = 1; e->flags |= EF_RETREATING; e->flags |= EF_ROPED_ATTACHED; @@ -108,6 +108,7 @@ void cutRope(Entity *e) { e->towing->flags &= ~EF_RETREATING; e->towing->flags &= ~EF_ROPED_ATTACHED; + e->towing->speed = 0; e->towing = NULL; } }