projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- made fixes to buttjump
[supertux.git]
/
src
/
scene.cpp
diff --git
a/src/scene.cpp
b/src/scene.cpp
index
c75f02d
..
d7034a9
100644
(file)
--- a/
src/scene.cpp
+++ b/
src/scene.cpp
@@
-32,6
+32,15
@@
PlayerStatus::PlayerStatus()
{
}
+void PlayerStatus::reset()
+{
+ score = 0;
+ distros = 0;
+ lives = START_LIVES;
+ bonus = NO_BONUS;
+ score_multiplier = 1;
+}
+
std::string bonus_to_string(PlayerStatus::BonusType b)
{
switch (b)