projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c598e1
)
Removed coin penalty for aborting a level- this needs to be thought out more
author
LMH
<lmh.0013@gmail.com>
Mon, 2 Sep 2013 06:15:01 +0000
(20:15 -1000)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Sat, 26 Oct 2013 16:45:20 +0000
(18:45 +0200)
src/supertux/game_session.cpp
patch
|
blob
|
history
diff --git
a/src/supertux/game_session.cpp
b/src/supertux/game_session.cpp
index
f843c5d
..
f14138c
100644
(file)
--- a/
src/supertux/game_session.cpp
+++ b/
src/supertux/game_session.cpp
@@
-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"
}
}
}