Maelstrom: Don't do the new life sound if we're in deathmatch mode.

https://github.com/libsdl-org/Maelstrom/commit/d61372ab2c1c2bd4af4795c7acfe5fa3f5c32a33

From d61372ab2c1c2bd4af4795c7acfe5fa3f5c32a33 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 20 Nov 2011 14:38:48 -0500
Subject: [PATCH] Don't do the new life sound if we're in deathmatch mode.

---
 game/game.cpp | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/game/game.cpp b/game/game.cpp
index de0fe331..cc9bb07f 100644
--- a/game/game.cpp
+++ b/game/game.cpp
@@ -525,7 +525,6 @@ GamePanelDelegate::DrawStatus(Bool first)
 		}
 	}
 
-	/* Check for everyone else's new lives */
 	OBJ_LOOP(i, MAX_PLAYERS) {
 		if (!gPlayers[i]->IsValid()) {
 			continue;
@@ -537,16 +536,18 @@ GamePanelDelegate::DrawStatus(Bool first)
 			m_score->SetText(numbuf);
 		}
 
-		if (lastScores[i] == Score)
-			continue;
+		if (!gGameInfo.deathMatch) {
+			if (lastScores[i] == Score)
+				continue;
 
-		/* -- See if they got a new life */
-		lastScores[i] = Score;
-		if ((Score - lastLife[i]) >= NEW_LIFE) {
-			gPlayers[i]->IncrLives(1);
-			lastLife[i] = (Score / NEW_LIFE) * NEW_LIFE;
-			if ( gGameInfo.IsLocalPlayer(i) )
-				sound->PlaySound(gNewLife, 5);
+			/* -- See if they got a new life */
+			lastScores[i] = Score;
+			if ((Score - lastLife[i]) >= NEW_LIFE) {
+				gPlayers[i]->IncrLives(1);
+				lastLife[i] = (Score / NEW_LIFE) * NEW_LIFE;
+				if ( gGameInfo.IsLocalPlayer(i) )
+					sound->PlaySound(gNewLife, 5);
+			}
 		}
 	}