From b4136dd3d4779d80df18f84929c576c8080cd7b8 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 9 Dec 2013 20:28:19 -0200 Subject: Fixed some logic errors Special Thanks to Haru Signed-off-by: shennetsind --- src/map/party.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/party.c') diff --git a/src/map/party.c b/src/map/party.c index 8e3ac3dcf..cab12548b 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -553,7 +553,7 @@ int party_member_withdraw(int party_id, int account_id, int char_id) sd->status.party_id = 0; clif->charnameupdate(sd); //Update name display [Skotlex] //TODO: hp bars should be cleared too - if( p->instances ) + if( p && p->instances ) instance->check_kick(sd); } if (sd && sd->sc.data[SC_DANCING]) { -- cgit v1.2.3-60-g2f50