Altered level stats display to display player's frags instead of "0/0" for "Kills" in DM.

git-svn-id: https://svn.eduke32.com/eduke32@23 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-04-15 22:56:06 +00:00
parent 22abcdef79
commit c3f75571a5

View file

@ -2786,8 +2786,8 @@ void displayrest(long smoothratio)
(ps[myconnectindex].player_par/26)%60);
minitext(320-5*12,200-i-6-6-6,tempbuf,0,26);
if(ud.player_skill > 3 )
Bsprintf(tempbuf,"Kills: %ld",ps[myconnectindex].actors_killed);
if(ud.player_skill > 3 || !(gametype_flags[ud.coop] & GAMETYPE_FLAG_PLAYERSFRIENDLY))
Bsprintf(tempbuf,"Kills: %ld",ud.multimode>1?ps[i].frag-ps[i].fraggedself:ps[myconnectindex].actors_killed);
else
Bsprintf(tempbuf,"Kills: %ld/%ld",ps[myconnectindex].actors_killed,
ps[myconnectindex].max_actors_killed>ps[myconnectindex].actors_killed?