From 6f985080a8b071e5869679e430274a4b166971c2 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Fri, 18 Aug 2017 11:49:20 +0200 Subject: [PATCH] Follow up to 5fdebec Fixed a typo --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/mob.c b/src/map/mob.c index caebea0bc4..04b76e707d 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -5283,7 +5283,7 @@ static int mob_reload_sub_npc( struct npc_data *nd, va_list args ){ nd->vd = mob_get_viewdata(nd->class_); // If they are spawned right now - if( nd->bl.prev == NULL ){ + if( nd->bl.prev != NULL ){ // Respawn all NPCs on client side so that they are displayed correctly(if their view id changed) clif_clearunit_area(&nd->bl, CLR_OUTSIGHT); clif_spawn(&nd->bl);