diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-02-27 02:23:06 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-02-27 02:23:06 +0800 |
commit | ad792f41994ce54dc9e45fbdaaf591f38fccecee (patch) | |
tree | 2f9042554878cd443db1b422358ace08c92a6dc1 /src/map/pc.c | |
parent | 06526e32ea7608dfc62ad5aeca91cf78ff3a446f (diff) | |
download | hercules-ad792f41994ce54dc9e45fbdaaf591f38fccecee.tar.gz hercules-ad792f41994ce54dc9e45fbdaaf591f38fccecee.tar.bz2 hercules-ad792f41994ce54dc9e45fbdaaf591f38fccecee.tar.xz hercules-ad792f41994ce54dc9e45fbdaaf591f38fccecee.zip |
Fixed Bug #6527
-Where all NPC don't allow changing of equipments by default and now can be set in 'items.conf'.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 7eae16193..a3b1335c9 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4232,8 +4232,7 @@ int pc_useitem(struct map_session_data *sd,int n) nullpo_ret(sd); - //This flag enables you to use items while in an NPC. [Skotlex] - if( sd->npc_id && sd->npc_id != sd->npc_item_flag ){ + if( sd->npc_id ){ #ifdef RENEWAL clif_msg(sd, 0x783); // TODO look for the client date that has this message. #endif |