summaryrefslogtreecommitdiff
path: root/src/map/storage.c
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-11 11:21:27 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-11 11:21:27 -0600
commit942dfed655b9e59a20e93e28bb41fe779516bc86 (patch)
tree53e6feaaac186507021dc6fa5422f40817a3e794 /src/map/storage.c
parentbdc081d262eeb2adb3f3352026be431b846e48b1 (diff)
downloadtmwa-942dfed655b9e59a20e93e28bb41fe779516bc86.tar.gz
tmwa-942dfed655b9e59a20e93e28bb41fe779516bc86.tar.bz2
tmwa-942dfed655b9e59a20e93e28bb41fe779516bc86.tar.xz
tmwa-942dfed655b9e59a20e93e28bb41fe779516bc86.zip
FIx a bug dealing with storage and scripting
Also remove some depug printing statements that were accidentally commited
Diffstat (limited to 'src/map/storage.c')
-rw-r--r--src/map/storage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/storage.c b/src/map/storage.c
index 3edd7b8..0158f38 100644
--- a/src/map/storage.c
+++ b/src/map/storage.c
@@ -140,7 +140,6 @@ int storage_additem(struct map_session_data *sd,struct storage *stor,struct item
i=MAX_STORAGE;
if(!itemdb_isequip2(data)){
- printf("A");
// 装備品ではないので、既所有品なら個数のみ変化させる
for(i=0;i<MAX_STORAGE;i++){
if(stor->storage[i].nameid == item_data->nameid &&
@@ -155,7 +154,6 @@ int storage_additem(struct map_session_data *sd,struct storage *stor,struct item
}
}
if(i>=MAX_STORAGE){
- printf("B");
// 装備品か未所有品だったので空き欄へ追加
for(i=0;i<MAX_STORAGE;i++){
if(stor->storage[i].nameid==0){