mirror of
https://github.com/nzp-team/quakec.git
synced 2025-03-17 08:21:17 +00:00
Merge pull request #98 from Peter0x44/hud_gameover_nodraw
This commit is contained in:
commit
a823256f6e
2 changed files with 8 additions and 1 deletions
|
@ -1989,7 +1989,7 @@ void(float width, float height) HUD_Draw =
|
|||
return;
|
||||
}
|
||||
|
||||
if ((getstatf(STAT_HEALTH) > 1) && !score_show)
|
||||
if ((getstatf(STAT_HEALTH) > 1) && !score_show && !game_over)
|
||||
{
|
||||
Draw_Crosshair();
|
||||
|
||||
|
|
|
@ -157,6 +157,13 @@ void() EndGameSetup =
|
|||
NotifyGameEnd();
|
||||
}
|
||||
game_over = true;
|
||||
Player_RemoveScore(self, self.points);
|
||||
Player_AddScore(self, self.score, false);
|
||||
for (float i = 0; i < MAX_PLAYER_WEAPONS; ++i)
|
||||
{
|
||||
Weapon_RemoveWeapon(i);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
float() push_away_zombies;
|
||||
|
|
Loading…
Reference in a new issue