From: Ingo Ruhnke Date: Mon, 26 Apr 2004 16:45:33 +0000 (+0000) Subject: - gcc -Wall warning fix X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ba3017de20ed067884228a4690ece90e342091f4;p=supertux.git - gcc -Wall warning fix SVN-Revision: 755 --- diff --git a/src/scene.cpp b/src/scene.cpp index fccff6f41..c75f02d63 100644 --- a/src/scene.cpp +++ b/src/scene.cpp @@ -27,8 +27,8 @@ PlayerStatus::PlayerStatus() : score(0), distros(0), lives(START_LIVES), - score_multiplier(1), - bonus(NO_BONUS) + bonus(NO_BONUS), + score_multiplier(1) { } @@ -42,6 +42,8 @@ std::string bonus_to_string(PlayerStatus::BonusType b) return "growup"; case PlayerStatus::FLOWER_BONUS: return "icflower"; + default: + return "none"; } }