From ca03f7af44bbbd4ad1689d5337d4b83759b01d4e Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 23 Jun 2014 02:25:20 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/game.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 18cc37146..d8f78a799 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -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) {