1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Fix a compile error, OGRE_NEW only works for classes derived from AllocatedObject

This commit is contained in:
scrawl 2013-05-13 21:03:53 +02:00
parent 822f130f79
commit 96e3b3b7c2

View File

@ -51,7 +51,7 @@ protected:
virtual void setValue(Ogre::Real value);
};
struct AnimSource {
struct AnimSource : public Ogre::AnimationAllocatedObject {
NifOgre::TextKeyMap mTextKeys;
std::vector<Ogre::Controller<Ogre::Real> > mControllers[sNumGroups];
};