projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5833e9
)
Silence compiler warning
author
Tobias Markus
<tobbi@mozilla-uk.org>
Tue, 16 Dec 2014 00:31:40 +0000
(
01:31
+0100)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Tue, 16 Dec 2014 00:31:40 +0000
(
01:31
+0100)
src/object/player.cpp
patch
|
blob
|
history
diff --git
a/src/object/player.cpp
b/src/object/player.cpp
index
414f43d
..
fafe2fc
100644
(file)
--- a/
src/object/player.cpp
+++ b/
src/object/player.cpp
@@
-1064,7
+1064,7
@@
Player::add_bonus(BonusType type, bool animate)
// ignore GROWUP_BONUS if we're already big
if (type == GROWUP_BONUS) {
- if (
!player_status->bonus =
= NO_BONUS)
+ if (
player_status->bonus !
= NO_BONUS)
return true;
}