projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b54978
)
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
LMH
<lmh.0013@gmail.com>
Mon, 2 Sep 2013 06:15:01 +0000
(20:15 -1000)
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"
}
}
}