summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-29 05:33:20 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-29 05:33:20 +0000
commit94f3da9dd8cb31ab928b62c44e076080ade23b8b (patch)
treefb165f7c10f4a9a85f6d594d61c865e15689dacd /src/map/map.c
parente7d01f7b12e109ac54dcc29f9d368e20512c57e6 (diff)
downloadhercules-94f3da9dd8cb31ab928b62c44e076080ade23b8b.tar.gz
hercules-94f3da9dd8cb31ab928b62c44e076080ade23b8b.tar.bz2
hercules-94f3da9dd8cb31ab928b62c44e076080ade23b8b.tar.xz
hercules-94f3da9dd8cb31ab928b62c44e076080ade23b8b.zip
* Fixed damage_level is not calculated properly on normal attack.
* Kaahi is supposed to be canceled on logout. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13978 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index b1bf03126..bbff98410 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1578,6 +1578,8 @@ int map_quit(struct map_session_data *sd)
status_change_end(&sd->bl,SC_STEELBODY,-1);
if(sd->sc.data[SC_PRESERVE])
status_change_end(&sd->bl,SC_PRESERVE,-1);
+ if(sd->sc.data[SC_KAAHI])
+ status_change_end(&sd->bl,SC_KAAHI,-1);
}
}