From 63a51839ce0bf424b236ed969ef3c295c80e2e98 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 10 Jan 2014 21:48:11 +0200 Subject: FULLPIPE: Fix warning --- engines/fullpipe/scenes/scene32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/fullpipe') diff --git a/engines/fullpipe/scenes/scene32.cpp b/engines/fullpipe/scenes/scene32.cpp index 8d462fbc6f..26fb5e12fe 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); -- cgit v1.2.3