Skip to content

Commit

Permalink
ADD - mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang-git committed Jun 14, 2020
1 parent c186c7d commit 3a67985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PowerUp/PowerUp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void PowerUp::Init(void)
if (_id.compare("skate")) {
_node = _ctrl->_scene_mgr->addAnimatedMeshSceneNode(_ctrl->_scene_mgr->getMesh(AssetSelector(SKATE).c_str()));
} else {
_node = _ctrl->_scene_mgr->addAnimatedMeshSceneNode(_ctrl->_scene_mgr->getMesh(AssetSelector(SKATE).c_str()));
_node = _ctrl->_scene_mgr->addAnimatedMeshSceneNode(_ctrl->_scene_mgr->getMesh(AssetSelector(WALL_PASS).c_str()));
}
_node->setMaterialFlag(irr::video::EMF_LIGHTING, false);
_node->setMD2Animation(scene::EMAT_STAND);
Expand Down
2 changes: 1 addition & 1 deletion PowerUp/PowerUp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <iostream>

#define SKATE "skate.obj"

#define WALL_PASS "wall_pass.obj"
class PowerUp : public GameObject {
public:
PowerUp(const std::shared_ptr<IrrlichtController> &ctrl, const std::string name);
Expand Down

0 comments on commit 3a67985

Please sign in to comment.