summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-14 13:38:49 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-14 13:38:49 +0000
commiteadab5ba5011a8b999c9a5674081df81c2d0b5a2 (patch)
tree36193534ec7d6f70ead7ce9420a08552f69813e5 /src/map/pc.c
parent2a4e63d1b98259c768b6691230e889fabcf3cc7a (diff)
downloadhercules-eadab5ba5011a8b999c9a5674081df81c2d0b5a2.tar.gz
hercules-eadab5ba5011a8b999c9a5674081df81c2d0b5a2.tar.bz2
hercules-eadab5ba5011a8b999c9a5674081df81c2d0b5a2.tar.xz
hercules-eadab5ba5011a8b999c9a5674081df81c2d0b5a2.zip
- Fixed player auto-attack not cancelling when dead.
- Some cleanups in skill_unit nooverlapping code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5595 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index e20f15f75..acdf2e62c 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5311,6 +5311,7 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage)
duel_reject(sd->duel_invite, sd);
}
+ pc_stopattack(sd);
pc_stop_walking(sd,0);
skill_castcancel(&sd->bl,0); // r̒~
skill_stop_dancing(&sd->bl); //You should stop dancing when dead... [Skotlex]