Skip to content

Commit

Permalink
修正调试信息不对其
Browse files Browse the repository at this point in the history
  • Loading branch information
aceld committed May 20, 2019
1 parent f1ed053 commit 966f1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zinx_app_demo/mmo_game/api/move.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (*MoveApi) Handle(request ziface.IRequest) {
return
}

fmt.Printf("user pid = %d , move(%f,%f,%f,%f)", pid, msg.X, msg.Y, msg.Z, msg.V)
fmt.Printf("user pid = %d , move(%f,%f,%f,%f)\n", pid, msg.X, msg.Y, msg.Z, msg.V)

//3. 根据pid得到player对象
player := core.WorldMgrObj.GetPlayerByPid(pid.(int32))
Expand Down

0 comments on commit 966f1f8

Please sign in to comment.