mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:23:51 +00:00
Remove an unused field from EntityList
This commit is contained in:
parent
81ce8dbe12
commit
c5b9098517
3 changed files with 1 additions and 4 deletions
|
@ -388,7 +388,6 @@ void NpcAnimation::removeEntities(NifOgre::EntityList &entities)
|
|||
}
|
||||
entities.mEntities.clear();
|
||||
entities.mSkelBase = NULL;
|
||||
entities.mRootNode = NULL;
|
||||
}
|
||||
|
||||
void NpcAnimation::removeIndividualPart(int type)
|
||||
|
|
|
@ -1027,7 +1027,6 @@ EntityList NIFLoader::createEntities(Ogre::SceneNode *parent, const std::string
|
|||
if(meshes.size() == 0)
|
||||
return entitylist;
|
||||
|
||||
entitylist.mRootNode = parent;
|
||||
Ogre::SceneManager *sceneMgr = parent->getCreator();
|
||||
for(size_t i = 0;i < meshes.size();i++)
|
||||
{
|
||||
|
|
|
@ -62,9 +62,8 @@ namespace NifOgre
|
|||
struct EntityList {
|
||||
std::vector<Ogre::Entity*> mEntities;
|
||||
Ogre::Entity *mSkelBase;
|
||||
Ogre::SceneNode *mRootNode;
|
||||
|
||||
EntityList() : mSkelBase(0), mRootNode(0)
|
||||
EntityList() : mSkelBase(0)
|
||||
{ }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue