1
This commit is contained in:
parent
340bc2fc31
commit
cf915d9d37
@ -352,7 +352,7 @@ void Room::AddPlayer(Player* hum, std::shared_ptr<BornPoint> init_born_point, bo
|
|||||||
acc_inactive_time_ += GetGasInactiveReaminTime() - 2;
|
acc_inactive_time_ += GetGasInactiveReaminTime() - 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef MYDEBUG1
|
#if 1
|
||||||
if (IsMobaModeRoom()) {
|
if (IsMobaModeRoom()) {
|
||||||
CreateAndroid(7);
|
CreateAndroid(7);
|
||||||
std::vector<Human*> humans;
|
std::vector<Human*> humans;
|
||||||
|
@ -838,7 +838,7 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
|||||||
const mt::Map* map_meta = mt::Map::GetById(msg->mapid());
|
const mt::Map* map_meta = mt::Map::GetById(msg->mapid());
|
||||||
if (map_meta && map_meta->is_moba()) {
|
if (map_meta && map_meta->is_moba()) {
|
||||||
msg->set_room_mode(kMobaMode);
|
msg->set_room_mode(kMobaMode);
|
||||||
#if 1
|
#if 0
|
||||||
{
|
{
|
||||||
auto data = a8::MutableXObject::CreateObject();
|
auto data = a8::MutableXObject::CreateObject();
|
||||||
data->SetVal("zone_id", 1);
|
data->SetVal("zone_id", 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user