mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-11 18:39:16 +07:00
Alter comments
This commit is contained in:
parent
6228b5353f
commit
6b27d19057
@ -85,13 +85,13 @@ public class CraterConveyor extends Block implements Autotiler{
|
||||
|
||||
if(entity.from == Pos.invalid) return;
|
||||
|
||||
// position
|
||||
// offset
|
||||
Tile from = world.tile(entity.from);
|
||||
Tmp.v1.set(from);
|
||||
Tmp.v2.set(tile);
|
||||
Tmp.v1.interpolate(Tmp.v2, 1f - entity.cooldown, Interpolation.linear);
|
||||
|
||||
// fixme, cleanup
|
||||
// fixme
|
||||
float a = (from.rotation()%4) * 90;
|
||||
float b = (tile.rotation()%4) * 90;
|
||||
if((from.rotation()%4) == 3 && (tile.rotation()%4) == 0) a = -1 * 90;
|
||||
|
Loading…
Reference in New Issue
Block a user