seperate gibdamage serverlog message for grenade or headshot deaths

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4652 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2009-10-04 17:05:38 +00:00
parent 3d7643b403
commit bf9f792a1c
+1 -1
View File
@@ -1392,7 +1392,7 @@ void serverdamage(client *target, client *actor, int damage, int gun, bool gib,
target->position.setsizenodelete(0);
ts.state = CS_DEAD;
ts.lastdeath = gamemillis;
if(!suic) logline(ACLOG_INFO, "[%s] %s %s%s %s", actor->hostname, actor->name, gib ? "gibbed" : "fragged", tk ? " his teammate" : "", target->name);
if(!suic) logline(ACLOG_INFO, "[%s] %s %s%s %s", actor->hostname, actor->name, gib ? (gun==GUN_GRENADE?"splattered":"gibbed") : "fragged", tk ? " his teammate" : "", target->name);
if(m_flags && targethasflag >= 0)
{
if(m_ctf)