Remove owner when detaching rope.

This commit is contained in:
Steve 2016-07-31 09:57:41 +01:00
parent eedc0c76d5
commit 6dbbb7f403
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ void cutRope(Entity *e)
{ {
e->towing->flags &= ~EF_RETREATING; e->towing->flags &= ~EF_RETREATING;
e->towing->flags &= ~EF_ROPED_ATTACHED; e->towing->flags &= ~EF_ROPED_ATTACHED;
e->towing->speed = 0; e->towing->owner = NULL;
e->towing = NULL; e->towing = NULL;
} }
} }