[Orxonox-commit 4304] r8975 - code/branches/menue/src/orxonox/worldentities/pawns

baermatt at orxonox.net baermatt at orxonox.net
Wed Dec 14 13:39:43 CET 2011


Author: baermatt
Date: 2011-12-14 13:39:43 +0100 (Wed, 14 Dec 2011)
New Revision: 8975

Modified:
   code/branches/menue/src/orxonox/worldentities/pawns/FpsPlayer.cc
   code/branches/menue/src/orxonox/worldentities/pawns/FpsPlayer.h
Log:
Made jumping work again in FPS mode.

Modified: code/branches/menue/src/orxonox/worldentities/pawns/FpsPlayer.cc
===================================================================
--- code/branches/menue/src/orxonox/worldentities/pawns/FpsPlayer.cc	2011-12-14 12:23:56 UTC (rev 8974)
+++ code/branches/menue/src/orxonox/worldentities/pawns/FpsPlayer.cc	2011-12-14 12:39:43 UTC (rev 8975)
@@ -269,7 +269,7 @@
     {
     }
 
-    void FpsPlayer::boost() //acctually jump
+    void FpsPlayer::boost(bool bBoost) //acctually jump
     {
         if (this->isFloor_)
         {

Modified: code/branches/menue/src/orxonox/worldentities/pawns/FpsPlayer.h
===================================================================
--- code/branches/menue/src/orxonox/worldentities/pawns/FpsPlayer.h	2011-12-14 12:23:56 UTC (rev 8974)
+++ code/branches/menue/src/orxonox/worldentities/pawns/FpsPlayer.h	2011-12-14 12:39:43 UTC (rev 8975)
@@ -64,7 +64,7 @@
             inline const std::string& getMeshSource() const
                 { return this->meshSrc_; }
 
-            void boost(); //acctually jump
+            void boost(bool bBoost); //acctually jump
 
             virtual void fire();
 




More information about the Orxonox-commit mailing list