From 96e3b3b7c28afda91d845babe4bbfe3bb0ca8d86 Mon Sep 17 00:00:00 2001 From: scrawl Date: Mon, 13 May 2013 21:03:53 +0200 Subject: [PATCH] Fix a compile error, OGRE_NEW only works for classes derived from AllocatedObject --- apps/openmw/mwrender/animation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/animation.hpp b/apps/openmw/mwrender/animation.hpp index 012a14360..dcf5df394 100644 --- a/apps/openmw/mwrender/animation.hpp +++ b/apps/openmw/mwrender/animation.hpp @@ -51,7 +51,7 @@ protected: virtual void setValue(Ogre::Real value); }; - struct AnimSource { + struct AnimSource : public Ogre::AnimationAllocatedObject { NifOgre::TextKeyMap mTextKeys; std::vector > mControllers[sNumGroups]; };