1
This commit is contained in:
parent
4547820c28
commit
a66f1d9a02
@ -598,6 +598,11 @@ func (this *player) CMChooseBattleItem(hdr *f5.MsgHdr, msg *cs.CMChooseBattleIte
|
|||||||
q5.DuckToSimple(rspObj.ItemNum, &itemNum)
|
q5.DuckToSimple(rspObj.ItemNum, &itemNum)
|
||||||
q5.DuckToSimple(rspObj.ItemType, &itemType)
|
q5.DuckToSimple(rspObj.ItemType, &itemType)
|
||||||
q5.DuckToSimple(rspObj.ItemSubType, &itemSubType)
|
q5.DuckToSimple(rspObj.ItemSubType, &itemSubType)
|
||||||
|
for _, p := range(this.battleItems) {
|
||||||
|
if p.itemType == itemType && p.itemSubType == itemSubType {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
this.SendMsg(rspMsg)
|
this.SendMsg(rspMsg)
|
||||||
this.GetTeam().SendUpdateNotify()
|
this.GetTeam().SendUpdateNotify()
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user