don't count suicides as teamkills
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7245 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -913,7 +913,7 @@ void dokill(playerent *pl, playerent *act, bool gib, int gun)
|
||||
|
||||
if(pl == act || isteam(pl->team, act->team))
|
||||
{
|
||||
act->tks++;
|
||||
if(pl != act) act->tks++;
|
||||
if(!m_mp(gamemode)) act->frags--;
|
||||
}
|
||||
else if(!m_mp(gamemode)) act->frags += ( gib && gun != GUN_GRENADE && gun != GUN_SHOTGUN) ? 2 : 1;
|
||||
|
||||
Reference in New Issue
Block a user