diff --git a/src/graphics/stars.cpp b/src/graphics/stars.cpp index 76465eb98..6928d2398 100644 --- a/src/graphics/stars.cpp +++ b/src/graphics/stars.cpp @@ -29,7 +29,7 @@ const int STAR_AMOUNT = 7; const float RADIUS = 0.7f; const float STAR_SIZE = 0.4f; -Stars::Stars(scene::IAnimatedMeshSceneNode* parentKart) +Stars::Stars(scene::ISceneNode* parentKart) { m_parent_kart_node = parentKart; m_enabled = false; diff --git a/src/graphics/stars.hpp b/src/graphics/stars.hpp index 881493c0e..be15f226c 100644 --- a/src/graphics/stars.hpp +++ b/src/graphics/stars.hpp @@ -45,7 +45,7 @@ private: float m_remaining_time; public: - Stars (scene::IAnimatedMeshSceneNode* parentKart); + Stars (scene::ISceneNode* parentKart); ~Stars (); void showFor(float time); void reset();