[Orxonox-commit 772] r3299 - branches/netp6/src/core
rgrieder at orxonox.net
rgrieder at orxonox.net
Tue Jul 14 23:05:04 CEST 2009
Author: rgrieder
Date: 2009-07-14 23:05:04 +0200 (Tue, 14 Jul 2009)
New Revision: 3299
Modified:
branches/netp6/src/core/Game.cc
Log:
Sometimes I honestly ask myself why such things could run on Linux, magic I suppose ^^
Modified: branches/netp6/src/core/Game.cc
===================================================================
--- branches/netp6/src/core/Game.cc 2009-07-14 15:47:06 UTC (rev 3298)
+++ branches/netp6/src/core/Game.cc 2009-07-14 21:05:04 UTC (rev 3299)
@@ -156,6 +156,9 @@
// START GAME
this->gameClock_->capture(); // first delta time should be about 0 seconds
+ // A first item is required for the fps limiter
+ statisticsTickInfo tickInfo = {0, 0};
+ statisticsTickTimes_.push_back(tickInfo);
while (!this->abort_ && !this->activeStates_.empty())
{
uint64_t currentTime = this->gameClock_->getRealMicroseconds();
More information about the Orxonox-commit
mailing list