This commit is contained in:
aozhiwei 2019-11-21 10:45:03 +08:00
parent 10fa84d277
commit 870292592b
2 changed files with 0 additions and 5 deletions

View File

@ -80,7 +80,6 @@ enum PropertyType_e
enum MapObjectType_e
{
kMOT_Object = 1,
kMOT_SpawnPoint = 2,
};
const char* const PROJ_NAME_FMT = "game%d_gameserver";
@ -109,6 +108,3 @@ const int MAX_SYS_HTTP_NUM = 2;
const int MAX_USER_HTTP_NUM = 8;
const int MAX_ALL_HTTP_NUM = MAX_SYS_HTTP_NUM + MAX_USER_HTTP_NUM;
const int DEFAULT_BORN_POINT_X = 3000;
const int DEFAULT_BORN_POINT_Y = 3000;

View File

@ -59,7 +59,6 @@ void Player::UpdateMove()
moved_frames = 0;
return;
}
a8::Vec2 old_pos = pos;
_UpdateMove(std::max(1, (int)GetSpeed()));
}