summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-10 18:37:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-10 18:37:18 +0000
commit8e61279b161a6603d494275ee0b07746a585deb8 (patch)
tree7de4956c09c83fdb9b3a0fb9804ccb30a84f1210 /src/map/status.c
parentf29db4aa23c04c611f353a2ac004dc8c7a57be60 (diff)
downloadhercules-8e61279b161a6603d494275ee0b07746a585deb8.tar.gz
hercules-8e61279b161a6603d494275ee0b07746a585deb8.tar.bz2
hercules-8e61279b161a6603d494275ee0b07746a585deb8.tar.xz
hercules-8e61279b161a6603d494275ee0b07746a585deb8.zip
- Updated a bit the pet_db.txt, added info for Xmas Goblin and Rice Cake. Since little is known about them, most of the info is custom!
- Fixed @whogm not updating count for GMs which you can only see their name. - Added unit_data.state.speed_changed, now when an object changes speed, the old move-packet will be used on the next movement, which should update the object's speed from that point and on-wards. This is done since there appears to be no way to tell the client a given object's speed has changed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10209 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 238621063..27faecd05 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3004,7 +3004,7 @@ void status_calc_bl(struct block_list *bl, unsigned long flag)
//because if you step on something while walking, the moment this
//piece of code triggers the walk-timer is set on -1) [Skotlex]
if (ud)
- ud->state.change_walk_target = 1;
+ ud->state.change_walk_target = ud->state.speed_changed = 1;
}
if(flag&SCB_CRI && b_status->cri) {