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

Changing refdata3

This commit is contained in:
Jason Hooks 2011-10-30 22:38:15 -04:00
parent 15fae749ae
commit 86d3cec1aa

View File

@ -45,13 +45,13 @@ namespace MWWorld
public: public:
RefData() : mHasLocals (false), mEnabled (true), mCount (1) {mBaseNode = 0;} RefData() : mHasLocals (false), mEnabled (true), mCount (1),mBaseNode(0) {}
std::string getHandle() std::string getHandle()
{ {
return mBaseNode->getName(); return mBaseNode->getName();
} }
void setSceneNode(Ogre::SceneNode* base){ void setBaseNode(Ogre::SceneNode* base){
mBaseNode = base; mBaseNode = base;
} }