From 6b57cb1d876dae9952932bb27759561daefbc938 Mon Sep 17 00:00:00 2001 From: Michieru Date: Sat, 9 Aug 2014 11:39:34 +0200 Subject: Fix warning compilation (Follow bug:8193) --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2