Index: code/trunk/src/orxonox/overlays/hud/AnnounceMessage.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/AnnounceMessage.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/AnnounceMessage.cc	(revision 3325)
@@ -56,5 +56,5 @@
         SUPER(AnnounceMessage, changedOwner);
 
-        this->owner_ = dynamic_cast<PlayerInfo*>(this->getOwner());
+        this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner());
     }
 }
Index: code/trunk/src/orxonox/overlays/hud/DeathMessage.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/DeathMessage.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/DeathMessage.cc	(revision 3325)
@@ -56,5 +56,5 @@
         SUPER(DeathMessage, changedOwner);
 
-        this->owner_ = dynamic_cast<PlayerInfo*>(this->getOwner());
+        this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner());
     }
 }
Index: code/trunk/src/orxonox/overlays/hud/GametypeStatus.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/GametypeStatus.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/GametypeStatus.cc	(revision 3325)
@@ -86,5 +86,5 @@
         SUPER(GametypeStatus, changedOwner);
 
-        this->owner_ = dynamic_cast<PlayerInfo*>(this->getOwner());
+        this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner());
     }
 }
Index: code/trunk/src/orxonox/overlays/hud/HUDHealthBar.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/HUDHealthBar.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/HUDHealthBar.cc	(revision 3325)
@@ -94,5 +94,5 @@
         SUPER(HUDHealthBar, changedOwner);
 
-        this->owner_ = dynamic_cast<Pawn*>(this->getOwner());
+        this->owner_ = orxonox_cast<Pawn*>(this->getOwner());
     }
 
Index: code/trunk/src/orxonox/overlays/hud/HUDRadar.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/HUDRadar.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/HUDRadar.cc	(revision 3325)
@@ -164,5 +164,5 @@
         SUPER(HUDRadar, changedOwner);
 
-        this->owner_ = dynamic_cast<Pawn*>(this->getOwner());
+        this->owner_ = orxonox_cast<Pawn*>(this->getOwner());
     }
 }
Index: code/trunk/src/orxonox/overlays/hud/HUDSpeedBar.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/HUDSpeedBar.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/HUDSpeedBar.cc	(revision 3325)
@@ -65,5 +65,5 @@
         SUPER(HUDSpeedBar, changedOwner);
 
-        this->owner_ = dynamic_cast<SpaceShip*>(this->getOwner());
+        this->owner_ = orxonox_cast<SpaceShip*>(this->getOwner());
     }
 }
Index: code/trunk/src/orxonox/overlays/hud/HUDTimer.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/HUDTimer.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/HUDTimer.cc	(revision 3325)
@@ -68,5 +68,5 @@
         SUPER(HUDTimer, changedOwner);
 
-        this->owner_ = dynamic_cast<ControllableEntity*>(this->getOwner());
+        this->owner_ = orxonox_cast<ControllableEntity*>(this->getOwner());
     }
 }
Index: code/trunk/src/orxonox/overlays/hud/KillMessage.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/KillMessage.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/KillMessage.cc	(revision 3325)
@@ -56,5 +56,5 @@
         SUPER(KillMessage, changedOwner);
 
-        this->owner_ = dynamic_cast<PlayerInfo*>(this->getOwner());
+        this->owner_ = orxonox_cast<PlayerInfo*>(this->getOwner());
     }
 }
Index: code/trunk/src/orxonox/overlays/hud/PongScore.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/PongScore.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/PongScore.cc	(revision 3325)
@@ -133,5 +133,5 @@
 
         if (this->getOwner() && this->getOwner()->getGametype())
-            this->owner_ = dynamic_cast<Pong*>(this->getOwner()->getGametype());
+            this->owner_ = orxonox_cast<Pong*>(this->getOwner()->getGametype());
         else
             this->owner_ = 0;
Index: code/trunk/src/orxonox/overlays/hud/TeamBaseMatchScore.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/TeamBaseMatchScore.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/TeamBaseMatchScore.cc	(revision 3325)
@@ -118,5 +118,5 @@
 
         if (this->getOwner() && this->getOwner()->getGametype())
-            this->owner_ = dynamic_cast<TeamBaseMatch*>(this->getOwner()->getGametype());
+            this->owner_ = orxonox_cast<TeamBaseMatch*>(this->getOwner()->getGametype());
         else
             this->owner_ = 0;
Index: code/trunk/src/orxonox/overlays/hud/UnderAttackHealthBar.cc
===================================================================
--- code/trunk/src/orxonox/overlays/hud/UnderAttackHealthBar.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/hud/UnderAttackHealthBar.cc	(revision 3325)
@@ -73,10 +73,10 @@
         SUPER(UnderAttackHealthBar, changedOwner);
 
-        PlayerInfo* player = dynamic_cast<PlayerInfo*>(this->getOwner());
+        PlayerInfo* player = orxonox_cast<PlayerInfo*>(this->getOwner());
         if (player)
         {
             this->owner_ = player;
 
-            UnderAttack* ua = dynamic_cast<UnderAttack*>(player->getGametype());
+            UnderAttack* ua = orxonox_cast<UnderAttack*>(player->getGametype());
             if (ua)
             {
Index: code/trunk/src/orxonox/overlays/map/Map.cc
===================================================================
--- code/trunk/src/orxonox/overlays/map/Map.cc	(revision 3301)
+++ code/trunk/src/orxonox/overlays/map/Map.cc	(revision 3325)
@@ -359,5 +359,5 @@
         //COUT(0) << "shipptr" << this->getOwner()->getReverseCamera() << std::endl;
 
-        ControllableEntity* entity = dynamic_cast<ControllableEntity*>(this->getOwner());
+        ControllableEntity* entity = orxonox_cast<ControllableEntity*>(this->getOwner());
         if(entity && entity->getReverseCamera())
         {
