From: Tim Goya Date: Mon, 29 Jan 2007 15:22:35 +0000 (+0000) Subject: restore coins if reset point was not used X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=365706b3ba17bac751f16e50ccef8aeba879bf70;p=supertux.git restore coins if reset point was not used SVN-Revision: 4734 --- diff --git a/src/game_session.cpp b/src/game_session.cpp index 2b539eeb2..ab1697f81 100644 --- a/src/game_session.cpp +++ b/src/game_session.cpp @@ -386,7 +386,7 @@ GameSession::check_end_conditions() } else if (!end_sequence && tux->is_dead()) { if (player_status->coins < 0) { // No more coins: restart level from beginning - player_status->coins = 0; + player_status->coins += 25; restart_level(true); } else { // Still has coins: restart level from last reset point