diff options
Diffstat (limited to 'src')
-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 a2f8cf2..09dc17b 100644 --- a/src/map/storage.c +++ b/src/map/storage.c @@ -247,7 +247,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); |