From 263a80a1fd575df26ae398787c17b4fb68bde51d Mon Sep 17 00:00:00 2001 From: "Martin Felis (berta)" Date: Wed, 1 Dec 2010 10:33:44 +0100 Subject: [PATCH] on new game one has 3 lives and also increased temporary new highscore value --- asteroids/Model.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asteroids/Model.cc b/asteroids/Model.cc index 96f62c0..8cec6b1 100644 --- a/asteroids/Model.cc +++ b/asteroids/Model.cc @@ -391,8 +391,8 @@ bool Model::OnGameOver() { void Model::OnNewGame() { ClearEntities(); - mNewestHighscoreEntryIndex = 99999; - mPlayerLives = 2; + mNewestHighscoreEntryIndex = std::numeric_limits::max(); + mPlayerLives = 3; mCurrentLevelIndex = 0; mPoints = 0;