diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index d56ae4a1..7ff8f3f4 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -352,7 +352,7 @@ void Room::AddPlayer(Player* hum, std::shared_ptr init_born_point, bo acc_inactive_time_ += GetGasInactiveReaminTime() - 2; } } -#ifdef MYDEBUG1 +#if 1 if (IsMobaModeRoom()) { CreateAndroid(7); std::vector humans; diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index 918fa1ea..8bee2991 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -838,7 +838,7 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg) const mt::Map* map_meta = mt::Map::GetById(msg->mapid()); if (map_meta && map_meta->is_moba()) { msg->set_room_mode(kMobaMode); -#if 1 +#if 0 { auto data = a8::MutableXObject::CreateObject(); data->SetVal("zone_id", 1);