Skip to content

Commit

Permalink
FULLPIPE: Fix condition. CID 1063217
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Sep 13, 2013
1 parent 4db215a commit 763eedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/fullpipe/statics.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 763eedd

Please sign in to comment.