From 12e840465c3559453a142fdb428591dc0aea55f1 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 22 Nov 2019 14:34:05 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 8f822e6..b0c3994 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -559,11 +559,6 @@ void Human::SendWxVoip() void Human::_UpdateMove(int speed) { - for (int i = 0; i < speed; ++i) { - a8::Vec2 old_pos = pos; - pos = pos + move_dir; - room->grid_service.MoveHuman(this); - } } void Human::ClearFrameData()