diff options
author | Michieru <Michieru@users.noreply.github.com> | 2014-08-09 11:39:34 +0200 |
---|---|---|
committer | Michieru <Michieru@users.noreply.github.com> | 2014-08-09 11:39:34 +0200 |
commit | 6b57cb1d876dae9952932bb27759561daefbc938 (patch) | |
tree | f038544840bd2c7386190b8cc3022f84f257e58e /src/map | |
parent | 0330ad81239df680f0e26028c9a037da87cabd1e (diff) | |
download | hercules-6b57cb1d876dae9952932bb27759561daefbc938.tar.gz hercules-6b57cb1d876dae9952932bb27759561daefbc938.tar.bz2 hercules-6b57cb1d876dae9952932bb27759561daefbc938.tar.xz hercules-6b57cb1d876dae9952932bb27759561daefbc938.zip |
Fix warning compilation (Follow bug:8193)
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 936dd0d36..29fb7b2b7 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -8980,7 +8980,7 @@ int pc_unequipitem(struct map_session_data *sd,int n,int flag) { } // if player is berserk then cannot unequip - if (!(flag & 2) && sd->sc.count && (sd->sc.data[SC_BERSERK]) || sd->sc.data[SC_NO_SWITCH_EQUIP]) + if (!(flag & 2) && sd->sc.count && (sd->sc.data[SC_BERSERK] || sd->sc.data[SC_NO_SWITCH_EQUIP]) ) { clif->unequipitemack(sd,n,0,UIA_FAIL); return 0; |