[Orxonox-commit 3146] r7839 - code/trunk/src/orxonox

dafrick at orxonox.net dafrick at orxonox.net
Mon Jan 31 20:00:08 CET 2011


Author: dafrick
Date: 2011-01-31 20:00:08 +0100 (Mon, 31 Jan 2011)
New Revision: 7839

Modified:
   code/trunk/src/orxonox/LevelManager.cc
Log:
Fixing bug in LevelManager, already fixed in tutoriallevel branch, just forgot to also adjust the trunk, since this is rather annoying.


Modified: code/trunk/src/orxonox/LevelManager.cc
===================================================================
--- code/trunk/src/orxonox/LevelManager.cc	2011-01-28 20:13:56 UTC (rev 7838)
+++ code/trunk/src/orxonox/LevelManager.cc	2011-01-31 19:00:08 UTC (rev 7839)
@@ -212,7 +212,7 @@
         else
         {
             // If this index is bigger than the last, we can optimize a little.
-            if(index > this->nextIndex_)
+            if(index < this->nextIndex_)
             {
                 this->nextIndex_ = 0;
                 this->nextLevel_ = this->availableLevels_.begin();




More information about the Orxonox-commit mailing list