Compare commits
No commits in common. "3fc151e3405f622001a900c086e9a5c0e9b4a656" and "23c1d1eaab9c8b134819447b8d34bff6e7f50cc6" have entirely different histories.
3fc151e340
...
23c1d1eaab
|
@ -815,15 +815,7 @@ func (this *ShopMgr) Exchange(p *Player, goodsId int32, username, mobile, commen
|
|||
break
|
||||
}
|
||||
}
|
||||
for _, weight := range this.GetConfig(p.Platform).ExchangeShopList.Weight {
|
||||
if weight.ShopType == cdata.ShopType {
|
||||
if weight.IsShow == 2 {
|
||||
pack.RetCode = shop.OpResultCode_OPRC_Error
|
||||
p.SendToClient(int(shop.SPacketID_PACKET_SC_SHOP_EXCHANGE), pack)
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if info == nil || (info.Price == 0 && info.JPrice == 0 && info.Cash == 0) {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue