This commit is contained in:
aozhiwei 2019-03-20 16:04:25 +08:00
parent 92864552a6
commit df791a4fd7

View File

@ -118,6 +118,9 @@ void Player::MakeUpdateMsg()
{ {
int data_flags32 = 0; int data_flags32 = 0;
if (!update_msg->del_objids_size() > 0) {
a8::SetBitFlag(data_flags32, F_del_objids);
}
if (!new_players.empty()) { if (!new_players.empty()) {
a8::SetBitFlag(data_flags32, F_full_objects); a8::SetBitFlag(data_flags32, F_full_objects);
} }