1
This commit is contained in:
parent
7bff245fcb
commit
69cc232be0
@ -1613,6 +1613,15 @@ void Human::SendUIUpdate()
|
||||
notifymsg.set_boss_state(room->pve_data.boss_state);
|
||||
}
|
||||
if (room->IsMobaModeRoom()) {
|
||||
if (room->GetMobaTeamA()) {
|
||||
notifymsg.set_a_team_id(room->GetMobaTeamA()->GetTeamId());
|
||||
notifymsg.set_a_kill_count(room->GetMobaTeamA()->GetKillCount());
|
||||
}
|
||||
if (room->GetMobaTeamB()) {
|
||||
notifymsg.set_b_team_id(room->GetMobaTeamB()->GetTeamId());
|
||||
notifymsg.set_b_kill_count(room->GetMobaTeamB()->GetKillCount());
|
||||
}
|
||||
#if 0
|
||||
if (GetTeam()->GetTeamId() == room->GetMobaTeamA()->GetTeamId()) {
|
||||
if (room->GetMobaTeamA()) {
|
||||
notifymsg.set_a_team_id(room->GetMobaTeamA()->GetTeamId());
|
||||
@ -1632,6 +1641,7 @@ void Human::SendUIUpdate()
|
||||
notifymsg.set_a_kill_count(room->GetMobaTeamB()->GetKillCount());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
SendNotifyMsg(notifymsg);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user