Follow up to 5fdebec
Fixed a typo
This commit is contained in:
parent
5fdebec3af
commit
6f985080a8
@ -5283,7 +5283,7 @@ static int mob_reload_sub_npc( struct npc_data *nd, va_list args ){
|
|||||||
nd->vd = mob_get_viewdata(nd->class_);
|
nd->vd = mob_get_viewdata(nd->class_);
|
||||||
|
|
||||||
// If they are spawned right now
|
// 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)
|
// 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_clearunit_area(&nd->bl, CLR_OUTSIGHT);
|
||||||
clif_spawn(&nd->bl);
|
clif_spawn(&nd->bl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user