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
This commit is contained in:
shennetsind 2011-12-17 05:41:34 +00:00
parent 72e41ae973
commit 019165a3a9

View File

@ -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;