diff options
author | Eugene Sandulenko | 2013-09-14 00:17:43 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-14 00:17:43 +0300 |
commit | 763eedd0df5aed045e121b9256c6664278451d68 (patch) | |
tree | b2f0a8f697e222ec1d802031e290f43786cdaa7f | |
parent | 4db215a511e9829734fb3cae0785a7adb353e816 (diff) | |
download | scummvm-rg350-763eedd0df5aed045e121b9256c6664278451d68.tar.gz scummvm-rg350-763eedd0df5aed045e121b9256c6664278451d68.tar.bz2 scummvm-rg350-763eedd0df5aed045e121b9256c6664278451d68.zip |
FULLPIPE: Fix condition. CID 1063217
-rw-r--r-- | engines/fullpipe/statics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp index 1fd02f8eb6..7d692ab444 100644 --- a/engines/fullpipe/statics.cpp +++ b/engines/fullpipe/statics.cpp @@ -549,7 +549,7 @@ void StaticANIObject::draw2() { MovTable *StaticANIObject::countMovements() { CGameVar *preloadSubVar = g_fullpipe->getGameLoaderGameVar()->getSubVarByName(getName())->getSubVarByName("PRELOAD"); - if (preloadSubVar || preloadSubVar->getSubVarsCount() == 0) + if (!preloadSubVar || preloadSubVar->getSubVarsCount() == 0) return 0; MovTable *movTable = new MovTable; |