Fix bogus "Game Over" when dying with the maximum number of lives
Reported-by: Buff Skeleton <https://forum.dxx-rebirth.com/showthread.php?tid=1096>
This commit is contained in:
parent
9f460e89a5
commit
2dd52b4699
|
@ -238,7 +238,8 @@ void player_dead_message(grs_canvas &canvas)
|
|||
{
|
||||
if (Player_dead_state == player_dead_state::exploded)
|
||||
{
|
||||
if ( get_local_player().lives < 2 ) {
|
||||
if (get_local_player().lives == 1)
|
||||
{
|
||||
int x, y, w, h;
|
||||
auto &huge_font = *HUGE_FONT;
|
||||
gr_get_string_size(huge_font, TXT_GAME_OVER, &w, &h, nullptr);
|
||||
|
|
Loading…
Reference in a new issue