diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-14 17:17:06 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-14 17:17:06 -0600 |
commit | dc1c0ca6d41a3cb15a98cda7a324a948f40c90f7 (patch) | |
tree | 19e7e7d10b00d09a18971e32d494833d9c9913a0 /src/map/storage.c | |
parent | 3dfbb9bbd106502f95c8d3e4f05a26940e0e290d (diff) | |
download | tmwa-dc1c0ca6d41a3cb15a98cda7a324a948f40c90f7.tar.gz tmwa-dc1c0ca6d41a3cb15a98cda7a324a948f40c90f7.tar.bz2 tmwa-dc1c0ca6d41a3cb15a98cda7a324a948f40c90f7.tar.xz tmwa-dc1c0ca6d41a3cb15a98cda7a324a948f40c90f7.zip |
Fix some storage-related code
You can't end NPC scripts with openstorage, which will now wait for the
user.
Diffstat (limited to 'src/map/storage.c')
-rw-r--r-- | src/map/storage.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/storage.c b/src/map/storage.c index 0158f38..ca7fa8b 100644 --- a/src/map/storage.c +++ b/src/map/storage.c @@ -228,8 +228,6 @@ int storage_storageget(struct map_session_data *sd,int index,int amount) nullpo_retr(0, sd); nullpo_retr(0, stor=account2storage(sd->status.account_id)); - printf("A!\n"); - if(stor->storage_status == 1) { // storage open if(index>=0 && index<MAX_STORAGE) { // valid index if( (amount <= stor->storage[index].amount) && (amount > 0) ) { //valid amount |