mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-21 02:51:37 +00:00
- Fixed bad return value.
This commit is contained in:
parent
78fa0a6f95
commit
25c890d91c
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue