1
This commit is contained in:
parent
99b9997dd0
commit
e587ae1455
@ -350,12 +350,12 @@ void KillMgr::BoradcastRollMsgCb(Human* dead_hum,
|
||||
int color = element->mutable_union_obj_1()->color();
|
||||
if (dead_hum == hum) {
|
||||
color = mt::Param::s().self_bekill_color;
|
||||
} else if (dead_hum->team_id == hum->team_id) {
|
||||
color = mt::Param::s().teammate_bekill_color;
|
||||
} else if (info->killer_id == hum->GetUniId()){
|
||||
color = mt::Param::s().self_kill_color;
|
||||
} else if (killer_team_id == hum->team_id) {
|
||||
color = mt::Param::s().teammate_kill_color;
|
||||
} else if (dead_hum->team_id == hum->team_id) {
|
||||
color = mt::Param::s().teammate_bekill_color;
|
||||
}
|
||||
if (element->mutable_union_obj_1()->color() != color) {
|
||||
element->mutable_union_obj_1()->set_color(color);
|
||||
|
Loading…
x
Reference in New Issue
Block a user