fix suicide/frag in single mode
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5257 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -673,7 +673,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
playerent *victim = vcn==getclientnum() ? player1 : getclient(vcn),
|
||||
*actor = acn==getclientnum() ? player1 : getclient(acn);
|
||||
if(!actor) break;
|
||||
actor->frags = frags;
|
||||
if ( m_mp(gamemode) ) actor->frags = frags;
|
||||
if(!victim) break;
|
||||
dokill(victim, actor, type==SV_GIBDIED, gun);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user