Fixed compiler warning in linux (and getPowerup() will never be NULL).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2012-09-04 23:39:00 +00:00
parent c50fc164b6
commit fba4298b07

View File

@ -251,8 +251,7 @@ void SkiddingAI::update(float dt)
if (m_superpower == RaceManager::SUPERPOWER_NOLOK_BOSS)
{
if (m_kart->getPowerup()->getType() == NULL ||
m_kart->getPowerup()->getType()==PowerupManager::POWERUP_NOTHING)
if (m_kart->getPowerup()->getType()==PowerupManager::POWERUP_NOTHING)
{
if (m_kart->getAttachment()->getType() == Attachment::ATTACH_SWATTER)
{