1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-20 22:53:54 +00:00

Fix an assertion

This commit is contained in:
scrawl 2013-07-14 14:59:24 +02:00
parent 61661c8653
commit fa5198d7b2

View file

@ -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();