- fixed counter on summary screen.

This commit is contained in:
Christoph Oelckers 2020-07-28 22:37:11 +02:00
parent c26ab9fc36
commit 10e4482245

View file

@ -910,7 +910,7 @@ public:
switch ((totalclock >> 4) % 15)
{
case 0:
if (bonuscnt = 6)
if (bonuscnt == 6)
{
bonuscnt++;
S_PlaySound(SHOTGUN_COCK, CHAN_AUTO, CHANF_UI);
@ -955,7 +955,7 @@ public:
else if (totalclock < (1000000000))
{
// force-set bonuscnt here so that it won't desync with the rest of the logic and Duke's voice can be heard.
bonuscnt = 6;
if (bonuscnt < 6) bonuscnt = 6;
SetTotalClock(1000000000);
}
}