1
This commit is contained in:
parent
fd7ea313bc
commit
bf3c91ee98
@ -2231,6 +2231,7 @@ void Human::PushJoinRoomMsg()
|
||||
notifymsg.set_is_viewer(1);
|
||||
notifymsg.set_player_id(0);
|
||||
}
|
||||
notifymsg.set_show_sandtable(room->IsSandTableRoom());
|
||||
GGListener::Instance()->SendToClient(socket_handle, 0, notifymsg);
|
||||
#ifdef MYDEBUG
|
||||
a8::XPrintf("PushJoinRooMmsg %d side:%d\n", {GetUniId(), side});
|
||||
|
@ -3583,7 +3583,7 @@ void Room::ForceOver()
|
||||
|
||||
bool Room::SupportSandTable()
|
||||
{
|
||||
return map_meta_->support_sandtable();
|
||||
return !IsMobaModeRoom() && map_meta_->support_sandtable();
|
||||
}
|
||||
|
||||
void Room::OnAddHuman(Human* hum)
|
||||
|
@ -1890,6 +1890,7 @@ message SMMapInfo
|
||||
optional int32 mapid = 17; //地图id之后会删除,目前只给老版本用
|
||||
optional int32 side = 18; //moba模式出生点 0:无 1:左侧 2:右侧
|
||||
optional int32 is_viewer = 20; //是否观战者
|
||||
optional int32 show_sandtable = 21; //是否显示沙盘
|
||||
}
|
||||
|
||||
//帧事件
|
||||
|
Loading…
x
Reference in New Issue
Block a user