summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-03 20:01:00 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-03 20:01:00 +0000
commite98da76049ed45fce2490b48e9d6418bd1ec1223 (patch)
tree934d988e6db3bc81e8bae5443d4fe12e533ee71d /src/map/map.c
parentd0241aaae2ee58987a5f65b4d69d2ee8d7408283 (diff)
downloadhercules-e98da76049ed45fce2490b48e9d6418bd1ec1223.tar.gz
hercules-e98da76049ed45fce2490b48e9d6418bd1ec1223.tar.bz2
hercules-e98da76049ed45fce2490b48e9d6418bd1ec1223.tar.xz
hercules-e98da76049ed45fce2490b48e9d6418bd1ec1223.zip
- Fixed compilation error on windows
- Strip sc's are now removed on logout. - Some cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5451 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 6d0adb509..ef67616c4 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1575,6 +1575,14 @@ int map_quit(struct map_session_data *sd) {
status_change_end(&sd->bl,SC_BERSERK,-1);
if(sd->sc.data[SC_TRICKDEAD].timer!=-1)
status_change_end(&sd->bl,SC_TRICKDEAD,-1);
+ if(sd->sc.data[SC_STRIPWEAPON].timer!=-1)
+ status_change_end(&sd->bl,SC_STRIPWEAPON,-1);
+ if(sd->sc.data[SC_STRIPARMOR].timer!=-1)
+ status_change_end(&sd->bl,SC_STRIPARMOR,-1);
+ if(sd->sc.data[SC_STRIPSHIELD].timer!=-1)
+ status_change_end(&sd->bl,SC_STRIPSHIELD,-1);
+ if(sd->sc.data[SC_STRIPHELM].timer!=-1)
+ status_change_end(&sd->bl,SC_STRIPHELM,-1);
}
skill_clear_unitgroup(&sd->bl); // スキルユニットグル?プの削除