summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-29 14:57:57 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-29 14:57:57 +0000
commit181d6d4ee83bd3d8cc01f56f65b4188304602139 (patch)
tree138184cfa6660332254ccb0a9fb6a206b124088b
parentb1124e5b6faab4a3223c0b4992f74b260cdd0ea9 (diff)
downloadhercules-181d6d4ee83bd3d8cc01f56f65b4188304602139.tar.gz
hercules-181d6d4ee83bd3d8cc01f56f65b4188304602139.tar.bz2
hercules-181d6d4ee83bd3d8cc01f56f65b4188304602139.tar.xz
hercules-181d6d4ee83bd3d8cc01f56f65b4188304602139.zip
Fixed that you couldn't unequip items while frozen/stoned/etc, bugreport:2772
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15309 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 19f10f828..35e8646fd 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9716,8 +9716,8 @@ void clif_parse_UnequipItem(int fd,struct map_session_data *sd)
return;
}
- if (sd->state.storage_flag)
- ; //You can equip/unequip stuff while storage is open.
+ if (sd->state.storage_flag || sd->sc.opt1)
+ ; //You can equip/unequip stuff while storage is open/under status changes
else if (pc_cant_act(sd))
return;