From: Tobias Markus Date: Tue, 16 Dec 2014 00:31:40 +0000 (+0100) Subject: Silence compiler warning X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9eab9403c2b9ff629c07380e8d5f1032d21bd3f7;p=supertux.git Silence compiler warning --- diff --git a/src/object/player.cpp b/src/object/player.cpp index 414f43dd8..fafe2fcd4 100644 --- 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; }