1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 19:45:34 +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];
};