Fixed death message color on mohaas/mohaab

This commit is contained in:
smallmodel 2023-08-20 14:11:34 +02:00
parent 010794418c
commit 51ca0a06a7
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -2134,10 +2134,10 @@ void G_PrintDeathMessage(
pPlayer = static_cast<Player *>(ent->entity);
if (pPlayer->GetTeam() == TEAM_ALLIES
|| pPlayer->GetTeam() == TEAM_AXIS && pPlayer->GetTeam() == victim->GetTeam()
if ((pPlayer->GetTeam() == TEAM_ALLIES || pPlayer->GetTeam() == TEAM_AXIS)
&& pPlayer->GetTeam() == victim->GetTeam()
|| pPlayer->GetTeam() != TEAM_ALLIES && pPlayer->GetTeam() != TEAM_AXIS
&& victim->GetTeam() == TEAM_ALLIES) {
&& victim->GetTeam() == TEAM_ALLIES) {
gi.SendServerCommand(
ent - g_entities,
"printdeathmsg \"%s\"\"%s\"\"%s\"\"%s\" %c",