Silence compiler warning
authorTobias Markus <tobbi@mozilla-uk.org>
Tue, 16 Dec 2014 00:31:40 +0000 (01:31 +0100)
committerTobias Markus <tobbi@mozilla-uk.org>
Tue, 16 Dec 2014 00:31:40 +0000 (01:31 +0100)
src/object/player.cpp

index 414f43d..fafe2fc 100644 (file)
@@ -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;
   }