projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve exception feedback a bit
[supertux.git]
/
src
/
scene.cpp
diff --git
a/src/scene.cpp
b/src/scene.cpp
index
b2fdf45
..
a235035
100644
(file)
--- a/
src/scene.cpp
+++ b/
src/scene.cpp
@@
-28,7
+28,8
@@
PlayerStatus::PlayerStatus()
: distros(0),
lives(START_LIVES),
bonus(NO_BONUS),
: distros(0),
lives(START_LIVES),
bonus(NO_BONUS),
- score_multiplier(1)
+ score_multiplier(1),
+ max_score_multiplier(1)
{
}
{
}
@@
-38,6
+39,7
@@
void PlayerStatus::reset()
lives = START_LIVES;
bonus = NO_BONUS;
score_multiplier = 1;
lives = START_LIVES;
bonus = NO_BONUS;
score_multiplier = 1;
+ max_score_multiplier = 1;
}
std::string bonus_to_string(PlayerStatus::BonusType b)
}
std::string bonus_to_string(PlayerStatus::BonusType b)