mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Fix a case where the bonus screen would immediately end with an input press because all code between iterations of the bonus screen would execute in less than 1/120th of a second, not leaving any time for totalclock to increment.
EDuke32. Where our code runs so fast, it breaks old code. git-svn-id: https://svn.eduke32.com/eduke32@4252 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cf16225f5e
commit
f046a405e6
1 changed files with 1 additions and 1 deletions
|
@ -12691,7 +12691,7 @@ void G_BonusScreen(int32_t bonusonly)
|
|||
|
||||
rotatesprite_fs(0,0,65536L,0,BONUSSCREEN+gfx_offset,0,0,2+8+16+64+128+(ud.bgstretch?1024:0));
|
||||
|
||||
if (totalclock > 1000000000 && totalclock < 1000000320)
|
||||
if (totalclock >= 1000000000 && totalclock < 1000000320)
|
||||
{
|
||||
switch ((totalclock>>4)%15)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue