Commit b1519b0e authored by cutealien's avatar cutealien

Animated dwarfes are more fun.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4821 dfc29bdd-3216-0410-991c-e03cc46cb475
parent fc9a99fb
...@@ -255,7 +255,7 @@ public: ...@@ -255,7 +255,7 @@ public:
{ {
irr::f32 gapZ = z > 0 ? (z-1)*GAP : 0.f; irr::f32 gapZ = z > 0 ? (z-1)*GAP : 0.f;
irr::f32 posZ = -halfSizeZ + z*extent.Z + gapZ; irr::f32 posZ = -halfSizeZ + z*extent.Z + gapZ;
scene::IMeshSceneNode * node = SceneManager->addMeshSceneNode (mesh, NULL, -1, vector3df(posX, posY, posZ) ); scene::IAnimatedMeshSceneNode * node = SceneManager->addAnimatedMeshSceneNode(aniMesh, NULL, -1, vector3df(posX, posY, posZ) );
node->setMaterialFlag(video::EMF_LIGHTING, false); node->setMaterialFlag(video::EMF_LIGHTING, false);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment