mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-02 20:33:50 +07:00
Fixed poly instructions not allowing full 360 degree range
This commit is contained in:
parent
1de3217738
commit
af6ed6ea89
@ -14,4 +14,4 @@ public enum LCategory{
|
||||
LCategory(Color color){
|
||||
this.color = color;
|
||||
}
|
||||
}
|
||||
}
|
@ -107,9 +107,8 @@ public class LogicDisplay extends Block{
|
||||
static class DisplayCmdStruct{
|
||||
public byte type;
|
||||
|
||||
//each coordinate is only 8 bits, limiting size to 256x256
|
||||
//anything larger than that would be excessive anyway
|
||||
@StructField(8)
|
||||
//9 bits are required for full 360 degrees
|
||||
@StructField(9)
|
||||
public int x, y, p1, p2, p3, p4;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user