mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-03-31 23:11:32 +00:00
Fixed /kills
This commit is contained in:
parent
4a783a8f29
commit
ee8f3f89e3
1 changed files with 5 additions and 5 deletions
|
@ -205,7 +205,7 @@ static void CG_Obituary( entityState_t *ent ) {
|
|||
}
|
||||
}
|
||||
//Blaze: This allows for the falling damage message to pass through if someone attacked them
|
||||
if (attacker != ENTITYNUM_WORLD) message = NULL;
|
||||
if (!(attacker == ENTITYNUM_WORLD || attacker ==target)) message = NULL;
|
||||
if (message) {
|
||||
CG_Printf( "%s %s.\n", targetName, message);
|
||||
return;
|
||||
|
@ -513,7 +513,7 @@ static void CG_Obituary_Head( entityState_t *ent ) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (attacker != ENTITYNUM_WORLD) message = NULL;
|
||||
if (!(attacker == ENTITYNUM_WORLD || attacker ==target)) message = NULL;
|
||||
if (message) {
|
||||
CG_Printf( "%s %s.\n", targetName, message);
|
||||
return;
|
||||
|
@ -721,7 +721,7 @@ static void CG_Obituary_Chest( entityState_t *ent ) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (attacker != ENTITYNUM_WORLD) message = NULL;
|
||||
if (!(attacker == ENTITYNUM_WORLD || attacker ==target)) message = NULL;
|
||||
if (message) {
|
||||
CG_Printf( "%s %s.\n", targetName, message);
|
||||
return;
|
||||
|
@ -900,7 +900,7 @@ static void CG_Obituary_Stomach( entityState_t *ent ) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (attacker != ENTITYNUM_WORLD) message = NULL;
|
||||
if (!(attacker == ENTITYNUM_WORLD || attacker ==target)) message = NULL;
|
||||
if (message) {
|
||||
CG_Printf( "%s %s.\n", targetName, message);
|
||||
return;
|
||||
|
@ -1088,7 +1088,7 @@ static void CG_Obituary_Legs( entityState_t *ent ) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (attacker != ENTITYNUM_WORLD) message = NULL;
|
||||
if (!(attacker == ENTITYNUM_WORLD || attacker == target)) message = NULL;
|
||||
if (message) {
|
||||
CG_Printf( "%s %s.\n", targetName, message);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue