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:
hendricks266 2014-06-23 02:25:20 +00:00
parent beec5ec512
commit ca03f7af44

View file

@ -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)
{