summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-18 05:42:45 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-18 05:42:45 +0000
commite26e3b2570fdf836a8c6c556c711bb6a81c3ecf0 (patch)
treeadd69d2928118542584007ba0c002e4997950ee5 /src/map/chrif.c
parentdb5a0ba6de24da584349db3c53648a39d50fb63c (diff)
downloadhercules-e26e3b2570fdf836a8c6c556c711bb6a81c3ecf0.tar.gz
hercules-e26e3b2570fdf836a8c6c556c711bb6a81c3ecf0.tar.bz2
hercules-e26e3b2570fdf836a8c6c556c711bb6a81c3ecf0.tar.xz
hercules-e26e3b2570fdf836a8c6c556c711bb6a81c3ecf0.zip
Updated Cloaking, Endure, fixed bug with monster npc's
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@244 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 6e53bd6d2..adb26868d 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -597,7 +597,7 @@ int chrif_changedsex(int fd)
// to avoid any problem with equipment and invalid sex, equipment is unequiped.
for (i = 0; i < MAX_INVENTORY; i++) {
if (sd->status.inventory[i].nameid && sd->status.inventory[i].equip)
- pc_unequipitem((struct map_session_data*)sd, i, 0);
+ pc_unequipitem((struct map_session_data*)sd, i, 0, BF_NORMAL);
}
// reset skill of some job
if (s_class.job == 19 || s_class.job == 4020 || s_class.job == 4042 ||