Removed coin penalty for aborting a level- this needs to be thought out more
authorLMH <lmh.0013@gmail.com>
Mon, 2 Sep 2013 06:15:01 +0000 (20:15 -1000)
committerLMH <lmh.0013@gmail.com>
Mon, 2 Sep 2013 06:15:01 +0000 (20:15 -1000)
src/supertux/game_session.cpp

index f843c5d..f14138c 100644 (file)
@@ -398,10 +398,8 @@ GameSession::process_menu()
         case MNID_ABORTLEVEL:
           MenuManager::set_current(0);
           g_screen_manager->exit_screen();
-          //Coin penalty for aborting a level
-          if (player_status->coins >= 25)
-            player_status->coins -= std::max(player_status->coins/10, 25);
-          break;
+          // TODO: revert coins and powerups to previous
+          // values so as to discourage powerup "farming"
       }
     }
   }