diff --git a/src/robots/default_robot.hpp b/src/robots/default_robot.hpp index 569153382..e74dcaf5c 100644 --- a/src/robots/default_robot.hpp +++ b/src/robots/default_robot.hpp @@ -28,7 +28,14 @@ class Track; class LinearWorld; class QuadGraph; -class irr::scene::ISceneNode; + +namespace irr +{ + namespace scene + { + class ISceneNode; + } +} class DefaultRobot : public AutoKart { diff --git a/src/robots/new_ai.hpp b/src/robots/new_ai.hpp index 70f87201a..401ff66e7 100644 --- a/src/robots/new_ai.hpp +++ b/src/robots/new_ai.hpp @@ -27,7 +27,13 @@ class Track; class LinearWorld; class QuadGraph; -class irr::scene::ISceneNode; +namespace irr +{ + namespace scene + { + class ISceneNode; + } +} class NewAI : public AutoKart {