This commit is contained in:
aozhiwei 2024-04-17 17:21:43 +08:00
parent fd7ea313bc
commit bf3c91ee98
3 changed files with 3 additions and 1 deletions

View File

@ -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});

View File

@ -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)

View File

@ -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; //
}
//