diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 2730baa79..1517cb17c 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2814,9 +2814,6 @@ int pc_useitem(struct map_session_data *sd,int n) nullpo_retr(0, sd);
- if(n <0 || n >= MAX_INVENTORY)
- return 0;
-
if(sd->status.inventory[n].nameid <= 0 ||
sd->status.inventory[n].amount <= 0)
return 0;
|