- Fixed bad return value.

This commit is contained in:
drfrag 2019-08-07 12:59:20 +02:00
parent 78fa0a6f95
commit 25c890d91c

View file

@ -203,7 +203,7 @@ class StatusScreen abstract play version("2.5")
}
return y + h;
}
return 0;
return y;
}
//====================================================================
@ -274,8 +274,7 @@ class StatusScreen abstract play version("2.5")
// Adjustment for different font sizes for map name and 'finished'.
y -= ((mapname.mFont.GetHeight() - finished.mFont.GetHeight()) * CleanYfac) / 4;
if (authortexts[0].Length() != 0)
y = DrawAuthor(y, authortexts[0]);
y = DrawAuthor(y, authortexts[0]);
// draw "Finished!"
if (y < (NG_STATSY - finished.mFont.GetHeight()*3/4) * CleanYfac)