viewing paste Unknown #5738 | Diff

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
# 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);
Viewed 1288 times, submitted by lighta.