viewing paste Unknown #1769 | Diff

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /home/lighta/Documents/Myscript/RO/Servs/rathena
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: src/map/unit.c
--- src/map/unit.c Base (BASE)
+++ src/map/unit.c Locally Modified (Based On LOCAL)
@@ -1259,7 +1259,7 @@
 #else
    casttime = skill_vfcastfix(src, casttime, skill_num, skill_lv);
 #endif
-
+        if(!ud->state.running) //need TK_RUN or WUGDASH handler to be done before that
    unit_stop_walking(src,1);// eventhough this is not how official works but this will do the trick. bugreport:6829
    // in official this is triggered even if no cast time.
    clif_skillcasting(src, src->id, target_id, 0,0, skill_num, skill_get_ele(skill_num, skill_lv), casttime);
Viewed 1261 times, submitted by lighta.