summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-26 14:30:34 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-26 14:30:34 +0000
commit44cad82e776e7455eaaee4bdf00d03cfe2d8efc0 (patch)
treea890785c685d04f8e7f2052c1865e504d21fb152 /src/map/clif.c
parentfaf5db4456e654b8837e80e124b7a90a03a3923c (diff)
downloadhercules-44cad82e776e7455eaaee4bdf00d03cfe2d8efc0.tar.gz
hercules-44cad82e776e7455eaaee4bdf00d03cfe2d8efc0.tar.bz2
hercules-44cad82e776e7455eaaee4bdf00d03cfe2d8efc0.tar.xz
hercules-44cad82e776e7455eaaee4bdf00d03cfe2d8efc0.zip
- Enabled changing of equipment while stunned/asleep/petrified/etc
- Cleaned up a bit the skill_castend_id dead checks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7890 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 37b80ce33..f7a54b28e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9271,11 +9271,11 @@ void clif_parse_EquipItem(int fd,struct map_session_data *sd)
if(sd->npc_id) {
if (sd->npc_id != sd->npc_item_flag)
return;
- } else if (sd->state.storage_flag)
- ; //You can equip/unequip stuff while storage is open.
+ } else if (sd->state.storage_flag || sd->sc.opt1)
+ ; //You can equip/unequip stuff while storage is open/under status changes
else if (clif_cant_act(sd))
return;
-
+
if(sd->sc.data[SC_BLADESTOP].timer!=-1 || sd->sc.data[SC_BERSERK].timer!=-1 )
return;