| 1046 | } |
| 1047 | |
| 1048 | void CCharacter::SendDeathMessageIfNotInLockedTeam(int Killer, int Weapon, int ModeSpecial) |
| 1049 | { |
| 1050 | if((Team() == TEAM_FLOCK || Teams()->TeamFlock(Team()) || Teams()->Count(Team()) == 1 || Teams()->GetTeamState(Team()) == ETeamState::OPEN || !Teams()->TeamLocked(Team()))) |
| 1051 | { |
| 1052 | CNetMsg_Sv_KillMsg Msg; |
| 1053 | Msg.m_Killer = Killer; |
| 1054 | Msg.m_Victim = m_pPlayer->GetCid(); |
| 1055 | Msg.m_Weapon = Weapon; |
| 1056 | Msg.m_ModeSpecial = ModeSpecial; |
| 1057 | Server()->SendPackMsg(&Msg, MSGFLAG_VITAL, -1); |
| 1058 | } |
| 1059 | } |
| 1060 | |
| 1061 | void CCharacter::CancelSwapRequests() |
| 1062 | { |
nothing calls this directly
no test coverage detected