Skip to content

Commit

Permalink
fixed warning if statements without body
Browse files Browse the repository at this point in the history
  • Loading branch information
markusobi committed Jan 9, 2019
1 parent 0a50bcf commit d12baa7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/content/AnimationLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ namespace Animations
ModelScriptTextParser p(zen);
p.setStrict(false); // TODO: should be configurable
if (!loadModelScript(fn, p))
; //return false;
{
//return false;
}


// MDS always overwrites
msb_loaded[withoutExt] = true;
Expand All @@ -81,7 +84,9 @@ namespace Animations
ZenParser zen(fn, m_World.getEngine()->getVDFSIndex());
ModelScriptBinParser p(zen);
if (!loadModelScript(fn, p))
; //return false;
{
//return false;
}

msb_loaded[withoutExt] = false;
}
Expand Down

0 comments on commit d12baa7

Please sign in to comment.