debug g_deposit_all

This commit is contained in:
shoopea 2019-08-23 18:26:20 +08:00
parent 79cd2dc1da
commit 85a4a69c87

1
job.go
View File

@ -714,6 +714,7 @@ func jobGDeposit(j Job) {
if p.Status == 0 { /* handle remaining resources to be stored */ if p.Status == 0 { /* handle remaining resources to be stored */
var res, misc, alch, craft, equip bool = false, false, false, false, false var res, misc, alch, craft, equip bool = false, false, false, false, false
log.Printf("jobGDeposit : Checking items (%d).\n", len(p.ResObjID64))
if len(p.ResObjID64) > 0 { if len(p.ResObjID64) > 0 {
obj, err := getObjItem(p.ResObjID64[0]) obj, err := getObjItem(p.ResObjID64[0])
logOnError(err, "jobGDeposit : getObjItem") logOnError(err, "jobGDeposit : getObjItem")