From fa5198d7b24cc2f444d5379f20ca9b7c2873658a Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 14 Jul 2013 14:59:24 +0200 Subject: [PATCH] Fix an assertion --- apps/openmw/mwrender/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/animation.cpp b/apps/openmw/mwrender/animation.cpp index a5ca5b81c..f958b8286 100644 --- a/apps/openmw/mwrender/animation.cpp +++ b/apps/openmw/mwrender/animation.cpp @@ -73,7 +73,7 @@ Animation::~Animation() void Animation::setObjectRoot(Ogre::SceneNode *node, const std::string &model, bool baseonly) { - OgreAssert(mAnimSources.size() != 0, "Setting object root while animation sources are set!"); + OgreAssert(mAnimSources.size() == 0, "Setting object root while animation sources are set!"); if(!mInsert) mInsert = node->createChildSceneNode();