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:
Rafael Barreto
2010-07-01 16:37:14 +00:00
parent 8b480a0c6b
commit 7b4d7f8b1c
+1 -1
View File
@@ -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;