From 966f1f876a6abf1fd9eb2848e50715e970885a8f Mon Sep 17 00:00:00 2001 From: aceld Date: Mon, 20 May 2019 12:09:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B0=83=E8=AF=95=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=8D=E5=AF=B9=E5=85=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zinx_app_demo/mmo_game/api/move.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zinx_app_demo/mmo_game/api/move.go b/zinx_app_demo/mmo_game/api/move.go index 452480f..118b7fe 100644 --- a/zinx_app_demo/mmo_game/api/move.go +++ b/zinx_app_demo/mmo_game/api/move.go @@ -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))