[Orxonox-commit 1505] r6223 - in code/branches/presentation2/src: modules/overlays/hud orxonox/controllers orxonox/overlays

scheusso at orxonox.net scheusso at orxonox.net
Thu Dec 3 11:23:07 CET 2009


Author: scheusso
Date: 2009-12-03 11:23:06 +0100 (Thu, 03 Dec 2009)
New Revision: 6223

Modified:
   code/branches/presentation2/src/modules/overlays/hud/HUDBar.cc
   code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc
   code/branches/presentation2/src/orxonox/overlays/InGameConsole.cc
Log:
fixed some uninitialised variables


Modified: code/branches/presentation2/src/modules/overlays/hud/HUDBar.cc
===================================================================
--- code/branches/presentation2/src/modules/overlays/hud/HUDBar.cc	2009-12-02 23:27:20 UTC (rev 6222)
+++ code/branches/presentation2/src/modules/overlays/hud/HUDBar.cc	2009-12-03 10:23:06 UTC (rev 6223)
@@ -66,7 +66,7 @@
     unsigned int HUDBar::materialcount_s = 0;
 
     HUDBar::HUDBar(BaseObject* creator)
-        : OrxonoxOverlay(creator)
+        : OrxonoxOverlay(creator), right2Left_(false), autoColour_(false)
     {
         RegisterObject(HUDBar);
 

Modified: code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc
===================================================================
--- code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc	2009-12-02 23:27:20 UTC (rev 6222)
+++ code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc	2009-12-03 10:23:06 UTC (rev 6223)
@@ -68,6 +68,7 @@
         arrowsSize_ = 0.4;
         controlMode_ = 0;
         acceleration_ = 0;
+        acceleration_ = false;
         firemode_ = -1;
         showArrows_ = true;
 

Modified: code/branches/presentation2/src/orxonox/overlays/InGameConsole.cc
===================================================================
--- code/branches/presentation2/src/orxonox/overlays/InGameConsole.cc	2009-12-02 23:27:20 UTC (rev 6222)
+++ code/branches/presentation2/src/orxonox/overlays/InGameConsole.cc	2009-12-03 10:23:06 UTC (rev 6223)
@@ -67,6 +67,7 @@
     */
     InGameConsole::InGameConsole()
         : shell_(new Shell("InGameConsole", true))
+        , bShowCursor_(false)
         , consoleOverlay_(0)
         , consoleOverlayContainer_(0)
         , consoleOverlayNoise_(0)




More information about the Orxonox-commit mailing list