https://github.com/libsdl-org/Maelstrom/commit/d6811bd2046f93730760cb4310e9df7840d475fd
From d6811bd2046f93730760cb4310e9df7840d475fd Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 21 Nov 2011 01:36:05 -0500
Subject: [PATCH] You can't get a high score with 0 points, that's just silly.
:)
---
game/game.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/game/game.cpp b/game/game.cpp
index 5cd25162..1433e2ff 100644
--- a/game/game.cpp
+++ b/game/game.cpp
@@ -1056,7 +1056,8 @@ static void DoGameOver(void)
/* -- See if they got a high score */
if (gReplay.IsRecording() && !gGameInfo.IsMultiplayer() &&
- (gGameInfo.wave == 1) && (gGameInfo.lives == 3)) {
+ (gGameInfo.wave == 1) && (gGameInfo.lives == 3) &&
+ TheShip->GetScore() > 0) {
for ( i = 0; i<NUM_SCORES; ++i ) {
if ( TheShip->GetScore() >= (int)hScores[i].score ) {
which = i;