|
|
|
@ -204,7 +204,7 @@ int CHudDeathNotice::MsgFunc_DeathMsg( const char *pszName, int iSize, void *pbu
@@ -204,7 +204,7 @@ int CHudDeathNotice::MsgFunc_DeathMsg( const char *pszName, int iSize, void *pbu
|
|
|
|
|
// Get the Victim's name
|
|
|
|
|
const char *victim_name = ""; |
|
|
|
|
// If victim is -1, the killer killed a specific, non-player object (like a sentrygun)
|
|
|
|
|
if( ( (char)victim ) != -1 ) |
|
|
|
|
if( ( (signed char)victim ) != -1 ) |
|
|
|
|
victim_name = g_PlayerInfoList[victim].name; |
|
|
|
|
if( !victim_name ) |
|
|
|
|
{ |
|
|
|
@ -219,7 +219,7 @@ int CHudDeathNotice::MsgFunc_DeathMsg( const char *pszName, int iSize, void *pbu
@@ -219,7 +219,7 @@ int CHudDeathNotice::MsgFunc_DeathMsg( const char *pszName, int iSize, void *pbu
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Is it a non-player object kill?
|
|
|
|
|
if( ( (char)victim ) == -1 ) |
|
|
|
|
if( ( (signed char)victim ) == -1 ) |
|
|
|
|
{ |
|
|
|
|
rgDeathNoticeList[i].iNonPlayerKill = TRUE; |
|
|
|
|
|
|
|
|
|