From 019165a3a9f91b9198a1cd0b5dab72c1af156658 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 17 Dec 2011 05:41:34 +0000 Subject: [PATCH] Fixed Monster Animation Bug: -- Example Before: You JT a evil druid, shortly after it finishes taking damage it'd appear near you without showing it moving again. Now: walk animation no longer glitches, it moves \o/! bugreport:1255 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15148 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/map/unit.c b/src/map/unit.c index 7b0820f66f..a13305d966 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -244,9 +244,11 @@ static int unit_walktoxy_timer(int tid, unsigned int tick, int id, intptr_t data else i = status_get_speed(bl); - if(i > 0) + if(i > 0) { ud->walktimer = add_timer(tick+i,unit_walktoxy_timer,id,i); - else if(ud->state.running) { + if( md ) + clif_move(ud); + } else if(ud->state.running) { //Keep trying to run. if (!unit_run(bl)) ud->state.running = 0;