diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index 23151b7..e1d86ab 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -15,7 +15,7 @@ #include "collision.h" const int ROOM_MAX_PLAYER_NUM = 50; -const int ANDROID_NUM = 0; +const int ANDROID_NUM = 10; void Room::Update(int delta_time) { @@ -143,8 +143,8 @@ void Room::ShuaAndroid() hum->meta = hum_meta; hum->entity_uniid = AllocUniid(); { - hum->pos.x = 100 + rand() % 400; - hum->pos.y = 200 + rand() % 500; + hum->pos.x = 3000 + rand() % 400; + hum->pos.y = 3000 + rand() % 500; hum->attack_dir = hum->pos; hum->attack_dir.Normalize(); hum->attack_dir.Rotate(a8::RandAngle());