mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Hotfix to allow display of E1L8's par time and 3DR time if no usermap has been played yet.
Note that the user map function still overwrites everything in slot E1L8 for the time being, which is a deeper problem I need to address. git-svn-id: https://svn.eduke32.com/eduke32@4525 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
beec5ec512
commit
ca03f7af44
1 changed files with 3 additions and 3 deletions
|
@ -12768,7 +12768,7 @@ void G_BonusScreen(int32_t bonusonly)
|
|||
|
||||
for (ii=g_player[myconnectindex].ps->player_par/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++) ;
|
||||
clockpad = max(clockpad,ij);
|
||||
if (!(ud.volume_number == 0 && ud.last_level-1 == 7))
|
||||
if (!(ud.volume_number == 0 && ud.last_level-1 == 7 && boardfilename[0]))
|
||||
{
|
||||
for (ii=MapInfo[ud.volume_number*MAXLEVELS+ud.last_level-1].partime/(REALGAMETICSPERSEC*60), ij=1; ii>9; ii/=10, ij++) ;
|
||||
clockpad = max(clockpad,ij);
|
||||
|
@ -12860,7 +12860,7 @@ void G_BonusScreen(int32_t bonusonly)
|
|||
gametext(10,yy+9,"Your Time:",0,2+8+16);
|
||||
|
||||
yy+=10;
|
||||
if (!(ud.volume_number == 0 && ud.last_level-1 == 7))
|
||||
if (!(ud.volume_number == 0 && ud.last_level-1 == 7 && boardfilename[0]))
|
||||
{
|
||||
if (MapInfo[ud.volume_number*MAXLEVELS+ud.last_level-1].partime)
|
||||
{
|
||||
|
@ -12907,7 +12907,7 @@ void G_BonusScreen(int32_t bonusonly)
|
|||
gametextpalbits((320>>2)+71,yy+9,"Cheated!",0,2,2+8+16);
|
||||
yy+=10;
|
||||
|
||||
if (!(ud.volume_number == 0 && ud.last_level-1 == 7))
|
||||
if (!(ud.volume_number == 0 && ud.last_level-1 == 7 && boardfilename[0]))
|
||||
{
|
||||
if (MapInfo[ud.volume_number*MAXLEVELS+ud.last_level-1].partime)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue