diff --git a/source/games/duke/src/2d_d.cpp b/source/games/duke/src/2d_d.cpp index ad8eb5c35..df3500d65 100644 --- a/source/games/duke/src/2d_d.cpp +++ b/source/games/duke/src/2d_d.cpp @@ -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); } }