This commit is contained in:
Anuken
2019-11-05 15:32:13 -05:00
parent 3e43f5577e
commit 21b7016fb5
5 changed files with 6 additions and 5 deletions

View File

@@ -194,7 +194,7 @@ public class Mechs implements ContentList{
@Override
public void updateAlt(Player player){
float scl = 1f - player.shootHeat / 2f;
float scl = 1f - player.shootHeat / 2f*Time.delta();
player.velocity().scl(scl);
}

View File

@@ -36,7 +36,7 @@ public class MissileBulletType extends BasicBulletType{
}
if(weaveMag > 0){
b.velocity().rotate(Mathf.sin(Time.time() + b.id * 4422, weaveScale, weaveMag));
b.velocity().rotate(Mathf.sin(Time.time() + b.id * 4422, weaveScale, weaveMag) * Time.delta());
}
}
}

View File

@@ -1,5 +1,6 @@
package io.anuke.mindustry.input;
import io.anuke.arc.*;
import io.anuke.arc.collection.*;
import io.anuke.arc.math.*;
import io.anuke.arc.math.geom.*;
@@ -26,7 +27,7 @@ public class Placement{
Pools.freeAll(points);
points.clear();
if(conveyors){
if(conveyors && Core.settings.getBool("conveyorpathfinding")){
if(astar(startX, startY, endX, endY)){
return points;
}else{

View File

@@ -225,9 +225,8 @@ public class SettingsMenuDialog extends SettingsDialog{
}
game.checkPref("savecreate", true);
game.checkPref("blockreplace", true);
game.checkPref("conveyorpathfinding", true);
game.checkPref("hints", true);
if(steam && !Version.modifier.contains("beta")){