# This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -6627,6 +6627,8 @@ npc_event(sd, bg->die_event, 0); } + npc_script_event(sd,NPCE_DIE); + // Clear anything NPC-related when you die and was interacting with one. if (sd->npc_id) { @@ -6644,8 +6646,8 @@ sd->st->state = END; } - npc_script_event(sd,NPCE_DIE); + /* e.g. not killed thru pc_damage */ if( pc_issit(sd) ) { clif_status_load(&sd->bl,SI_SIT,0);