Browse Source

Treibstoffverbrauch angepasst

Kolja Strohm 5 years ago
parent
commit
0d248a327f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Asteroids/Spieler.cpp

+ 1 - 1
Asteroids/Spieler.cpp

@@ -228,7 +228,7 @@ int Spieler::tick( double zeit, Karte *zMap )
             Vertex hp;
             Vertex mv;
             float r;
-            double treibstoff = 3 * ( ( beschleunigung + team->beschleunigung ) / 5 )
+            double treibstoff = 0.5 * ( ( beschleunigung + team->beschleunigung ) / 5 )
                 * zeit * ( 100 / ( antriebEffizienz + team->antriebEffizienz ) );
             treibstoffVerbraucht += treibstoff;
             double factor = 1;