mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Fix bad logic for kill counter in G_DisplayRest()
git-svn-id: https://svn.eduke32.com/eduke32@7011 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e1c1cebfbb
commit
2f65866167
1 changed files with 2 additions and 6 deletions
|
@ -1306,13 +1306,9 @@ void G_DisplayRest(int32_t smoothratio)
|
|||
else
|
||||
{
|
||||
if (myps->actors_killed >= myps->max_actors_killed)
|
||||
Bsprintf(tempbuf, "K:%d/%d", myps->actors_killed,
|
||||
myps->max_actors_killed>myps->actors_killed ?
|
||||
myps->max_actors_killed : myps->actors_killed);
|
||||
Bsprintf(tempbuf, "K:%d/%d", myps->actors_killed, myps->actors_killed);
|
||||
else
|
||||
Bsprintf(tempbuf, "K:^15%d/%d", myps->actors_killed,
|
||||
myps->max_actors_killed>myps->actors_killed ?
|
||||
myps->max_actors_killed : myps->actors_killed);
|
||||
Bsprintf(tempbuf, "K:^15%d/%d", myps->actors_killed, myps->max_actors_killed);
|
||||
}
|
||||
G_ScreenText(MF_Bluefont.tilenum, 2<<16, i-gtextsc(14<<16), gtextsc(MF_Bluefont.zoom), 0, 0, tempbuf, 0, 10, 2|8|16|256|ROTATESPRITE_FULL16, 0, MF_Bluefont.emptychar.x, MF_Bluefont.emptychar.y, xbetween, MF_Bluefont.between.y, MF_Bluefont.textflags|TEXT_XOFFSETZERO|TEXT_GAMETEXTNUMHACK, 0, 0, xdim-1, ydim-1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue