[Orxonox-commit 661] r3193 - in branches/pch/src: core orxonox

rgrieder at orxonox.net rgrieder at orxonox.net
Fri Jun 19 14:18:20 CEST 2009


Author: rgrieder
Date: 2009-06-19 14:18:19 +0200 (Fri, 19 Jun 2009)
New Revision: 3193

Modified:
   branches/pch/src/core/Clock.cc
   branches/pch/src/orxonox/Main.cc
Log:
Small stuff.

Modified: branches/pch/src/core/Clock.cc
===================================================================
--- branches/pch/src/core/Clock.cc	2009-06-18 08:00:15 UTC (rev 3192)
+++ branches/pch/src/core/Clock.cc	2009-06-19 12:18:19 UTC (rev 3193)
@@ -56,7 +56,7 @@
         unsigned long timersTime = timer_->getMicroseconds();
         tickTime_ = storedTime_ + timersTime;
         tickDt_ = timersTime - lastTimersTime_;
-        tickDtFloat_ = static_cast<float>(tickDt_ / 1000000.0f);
+        tickDtFloat_ = static_cast<float>(tickDt_) / 1000000.0f;
 
         if (timersTime > 0x7FFFFFF0)
         {

Modified: branches/pch/src/orxonox/Main.cc
===================================================================
--- branches/pch/src/orxonox/Main.cc	2009-06-18 08:00:15 UTC (rev 3192)
+++ branches/pch/src/orxonox/Main.cc	2009-06-19 12:18:19 UTC (rev 3193)
@@ -33,7 +33,7 @@
     Entry point of the program.
 */
 
-#include "OrxonoxConfig.h"
+#include "OrxonoxPrereqs.h"
 
 #include "util/Debug.h"
 #include "core/Identifier.h"




More information about the Orxonox-commit mailing list