diff options
Diffstat (limited to 'src/map/storage.c')
-rw-r--r-- | src/map/storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/storage.c b/src/map/storage.c index 0184d2978..a0c82e839 100644 --- a/src/map/storage.c +++ b/src/map/storage.c @@ -242,7 +242,7 @@ int storage_storageadd(struct map_session_data *sd,int index,int amount) if(sd->status.inventory[index].nameid <= 0)
return 0; //No item on that spot
- if(amount < 1 || amount < sd->status.inventory[index].amount)
+ if(amount < 1 || amount > sd->status.inventory[index].amount)
return 0;
// log_tostorage(sd, index, 0);
|