diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 14:26:04 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 14:26:04 +0000 |
commit | bbcf5c2bc5324d906d3a05b7bc67a33714ec4c4f (patch) | |
tree | aca277594ea16a620a2b262a382115843a995ed1 /src/map/status.c | |
parent | 0705e5f5a0943a4d04ce6b39ee1edf46f49d1821 (diff) | |
download | hercules-bbcf5c2bc5324d906d3a05b7bc67a33714ec4c4f.tar.gz hercules-bbcf5c2bc5324d906d3a05b7bc67a33714ec4c4f.tar.bz2 hercules-bbcf5c2bc5324d906d3a05b7bc67a33714ec4c4f.tar.xz hercules-bbcf5c2bc5324d906d3a05b7bc67a33714ec4c4f.zip |
- Removed incorrect "Waterball range+1 when standing on suiton" feature.
- Corrected the Speed update code to prevent sending "walk to xy" packets twice when the affected character is a player.
- Expanded mob can't move warning to print out where this mob was stuck at (map, x,y)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7998 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index c32b4602c..4af93b2d4 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2802,10 +2802,13 @@ void status_calc_bl(struct block_list *bl, unsigned long flag) } if(flag&SCB_SPEED) { - struct unit_data *ud = unit_bl2ud(bl); status->speed = status_calc_speed(bl, sc, b_status->speed); - if (ud && ud->walktimer != -1) //Re-walk to adjust speed. [Skotlex] + if (!sd) + { //Player speed is updated on calc_bl_sub_pc + struct unit_data *ud = unit_bl2ud(bl); + if (ud && ud->walktimer != -1) //Re-walk to adjust speed. [Skotlex] unit_walktoxy(bl, ud->to_x, ud->to_y, ud->state.walk_easy); + } } if(flag&SCB_CRI && b_status->cri) { if (status->luk == b_status->luk) |