mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-06 19:01:04 +03:00
Fix incorrect obituary hit location
This commit is contained in:
parent
15e8a71249
commit
388ab210a7
2 changed files with 14 additions and 10 deletions
|
@ -2116,7 +2116,11 @@ G_PrintDeathMessageEmulated(const char *s1, const char *s2, char *attackerName,
|
|||
return va("%c%s %s\n", hudColor, victimName, result1);
|
||||
} else if (tolower(type) == 'p') {
|
||||
if (*s2 == 'x') {
|
||||
return va("%c%s %s %s\n", hudColor, victimName, result1, attackerName);
|
||||
if (s2[1] && s2[2]) {
|
||||
return va("%c%s %s %s %s\n", hudColor, victimName, result1, attackerName, s2 + 2);
|
||||
} else {
|
||||
return va("%c%s %s %s\n", hudColor, victimName, result1, attackerName);
|
||||
}
|
||||
} else {
|
||||
return va("%c%s %s %s%s\n", hudColor, victimName, result1, attackerName, result2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue