Browse Source

Fehler beim abspielen von aufzeichnungen behoben

Kolja Strohm 6 years ago
parent
commit
5dea8c9e18
1 changed files with 6 additions and 6 deletions
  1. 6 6
      Asteroids/Menü.cpp

+ 6 - 6
Asteroids/Menü.cpp

@@ -313,9 +313,9 @@ bool Men
     {
         while( nowTime < nextTime )
         {
-            ret |= map->tick( 0.01 );
-            tickVal -= 0.01;
-            nowTime += 0.01;
+            ret |= map->tick( 0.02 );
+            tickVal -= 0.02;
+            nowTime += 0.02;
         }
         char aktion;
         datei->lese( &aktion, 1 );
@@ -359,9 +359,9 @@ bool Men
     timePuffer += tickVal;
     while( timePuffer > 0 )
     {
-        ret |= map->tick( 0.01 );
-        nowTime += 0.01;
-        timePuffer -= 0.01;
+        ret |= map->tick( 0.02 );
+        nowTime += 0.02;
+        timePuffer -= 0.02;
     }
     scoreT->setText( "Score: " );
     scoreT->zText()->append( map->getScore() );