From 018f3c4278351017b5eb727c0007d69303a53bf5 Mon Sep 17 00:00:00 2001 From: Jedzkie Date: Tue, 18 Apr 2017 16:05:44 +0800 Subject: Removed hard coded checks for no use while sitting in Aloevera and Anodyne item. --- src/map/pc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/map/pc.c b/src/map/pc.c index e9855c16d..0dde3cd9e 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4840,11 +4840,7 @@ int pc_isUseitem(struct map_session_data *sd,int n) switch( nameid ) { // TODO: Is there no better way to handle this, other than hardcoding item IDs? case ITEMID_ANODYNE: - if( map_flag_gvg2(sd->bl.m) ) - return 0; - /* Fall through */ - case ITEMID_ALOEBERA: - if( pc_issit(sd) ) + if (map_flag_gvg2(sd->bl.m)) return 0; break; case ITEMID_WING_OF_FLY: -- cgit v1.2.3-60-g2f50