diff options
author | Eugene Sandulenko | 2014-01-10 21:49:51 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-10 21:49:51 +0200 |
commit | ac41b918c4e774e4c0ba1afa2f7308c316269111 (patch) | |
tree | 07952b1e83218c933f8919b1b3dc9fbdf264e40c | |
parent | 63a51839ce0bf424b236ed969ef3c295c80e2e98 (diff) | |
download | scummvm-rg350-ac41b918c4e774e4c0ba1afa2f7308c316269111.tar.gz scummvm-rg350-ac41b918c4e774e4c0ba1afa2f7308c316269111.tar.bz2 scummvm-rg350-ac41b918c4e774e4c0ba1afa2f7308c316269111.zip |
FULLPIPE: Fix warning
-rw-r--r-- | engines/fullpipe/scenes/scene32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene32.cpp b/engines/fullpipe/scenes/scene32.cpp index 26fb5e12fe..c93e888e51 100644 --- a/engines/fullpipe/scenes/scene32.cpp +++ b/engines/fullpipe/scenes/scene32.cpp @@ -120,7 +120,7 @@ void sceneHandler32_startCactus() { void sceneHandler32_spin(ExCommand *cmd) { MessageQueue *mq = g_fp->_globalMessageQueueList->getMessageQueueById(cmd->_parId); - if (!mq || mq->getCount() <= 0) + if (!mq || mq->getCount() == 0) return; ExCommand *ex = mq->getExCommandByIndex(0); @@ -171,7 +171,7 @@ void sceneHandler32_startFlagRight() { void sceneHandler32_trySit(ExCommand *cmd) { MessageQueue *mq = g_fp->_globalMessageQueueList->getMessageQueueById(cmd->_parId); - if (!mq || !mq->getCount() <= 0) + if (!mq || mq->getCount() == 0) return; ExCommand *ex = mq->getExCommandByIndex(0); |