Compare commits

..

No commits in common. "ac608b4a44337461de87507c98c5cd88d5d2840a" and "b9191e05380e3c838033cbeb558de57761e1015a" have entirely different histories.

2 changed files with 1 additions and 10 deletions

View File

@ -529,7 +529,7 @@ func (this *PlayGame) OnPlayerOp(s *base.Scene, p *base.Player, opcode int, para
case rule.ClawDollPlayerOpGo:
pack := &machine.SMDollMachineGrab{
Snid: proto.Int32(p.SnId),
Snid: proto.Int32(playerEx.SnId),
Id: proto.Int32(int32(sceneEx.machineId)),
TypeId: proto.Int32(int32(1)),
}
@ -537,14 +537,6 @@ func (this *PlayGame) OnPlayerOp(s *base.Scene, p *base.Player, opcode int, para
sceneEx.SendToMachine(int(machine.DollMachinePacketID_PACKET_SMDollMachineGrab), pack)
case rule.ClawDollPlayerOpMove:
// 1-前 2-后 3-左 4-右 5-投币
pack := &machine.SMDollMachineoPerate{
Snid: proto.Int32(p.SnId),
Id: proto.Int32(int32(sceneEx.machineId)),
Perate: proto.Int32(int32(params[0])),
}
sceneEx.SendToMachine(int(machine.DollMachinePacketID_PACKET_SMDollMachinePerate), pack)
}
return false

View File

@ -19,7 +19,6 @@ import (
// game
_ "mongo.games.com/game/gamesrv/chess"
_ "mongo.games.com/game/gamesrv/clawdoll"
_ "mongo.games.com/game/gamesrv/fishing"
_ "mongo.games.com/game/gamesrv/smallrocket"
_ "mongo.games.com/game/gamesrv/thirteen"