1
This commit is contained in:
parent
c6e03f42ce
commit
22b25bb152
@ -36,7 +36,7 @@ func (this *historyMgr) PushLastBattleInfo(hum common.Player) {
|
|||||||
q5.NewSlice(&msg.BattleList, 0, 10)
|
q5.NewSlice(&msg.BattleList, 0, 10)
|
||||||
for key, val := range(u.mapAndModeHash) {
|
for key, val := range(u.mapAndModeHash) {
|
||||||
mapId := int32(key)
|
mapId := int32(key)
|
||||||
modeId := int32(key)
|
modeId := int32(key >> 32)
|
||||||
p := new(cs.MFLastBattleInfo)
|
p := new(cs.MFLastBattleInfo)
|
||||||
p.MapId = proto.Int32(mapId)
|
p.MapId = proto.Int32(mapId)
|
||||||
p.ModeId = proto.Int32(modeId)
|
p.ModeId = proto.Int32(modeId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user