summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-01 14:32:13 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-01 14:32:13 +0000
commit6bd986c4d7ffdfed5197e0a3ddd5f0a9f0324946 (patch)
treea121f769716d5af814e8a8b7c714f7366e155ca6 /src/map/unit.c
parent9297c096f234e6568e22165cac6d8c11f0491b31 (diff)
downloadhercules-6bd986c4d7ffdfed5197e0a3ddd5f0a9f0324946.tar.gz
hercules-6bd986c4d7ffdfed5197e0a3ddd5f0a9f0324946.tar.bz2
hercules-6bd986c4d7ffdfed5197e0a3ddd5f0a9f0324946.tar.xz
hercules-6bd986c4d7ffdfed5197e0a3ddd5f0a9f0324946.zip
- SC_ORCISH will now be dispelled on logout (if debufF_on_logout is set)
- Removed attackrange/attackrange_ from TBL_PC, corrected clif.c using the incorrect range variable. - You can now equip/unequip stuff while the storage is open. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6908 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index a8c1e269e..5852f9ecb 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1590,6 +1590,8 @@ int unit_free(struct block_list *bl) {
if(sd->sc.data[SC_TRICKDEAD].timer!=-1)
status_change_end(bl,SC_TRICKDEAD,-1);
if (battle_config.debuff_on_logout) {
+ if(sd->sc.data[SC_ORCISH].timer!=-1)
+ status_change_end(bl,SC_ORCISH,-1);
if(sd->sc.data[SC_STRIPWEAPON].timer!=-1)
status_change_end(bl,SC_STRIPWEAPON,-1);
if(sd->sc.data[SC_STRIPARMOR].timer!=-1)