[Orxonox-commit 4661] r9332 - code/branches/presentation2012merge/src/orxonox/worldentities/pawns

landauf at orxonox.net landauf at orxonox.net
Sun Jul 22 21:54:48 CEST 2012


Author: landauf
Date: 2012-07-22 21:54:48 +0200 (Sun, 22 Jul 2012)
New Revision: 9332

Modified:
   code/branches/presentation2012merge/src/orxonox/worldentities/pawns/Pawn.h
Log:
removed strange function

Modified: code/branches/presentation2012merge/src/orxonox/worldentities/pawns/Pawn.h
===================================================================
--- code/branches/presentation2012merge/src/orxonox/worldentities/pawns/Pawn.h	2012-07-22 19:35:54 UTC (rev 9331)
+++ code/branches/presentation2012merge/src/orxonox/worldentities/pawns/Pawn.h	2012-07-22 19:54:48 UTC (rev 9332)
@@ -143,9 +143,6 @@
 
             virtual void addedWeaponPack(WeaponPack* wPack) {}
 
-            inline const WorldEntity* getWorldEntity() const
-                { return const_cast<Pawn*>(this); }
-
             inline void setSpawnParticleSource(const std::string& source)
                 { this->spawnparticlesource_ = source; }
             inline const std::string& getSpawnParticleSource() const




More information about the Orxonox-commit mailing list