mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-05-28 17:06:34 +03:00
Fixed #12020
This commit is contained in:
@@ -206,7 +206,7 @@ public class Generators{
|
||||
Pixmap result = new Pixmap(size, size);
|
||||
byte[][] mask = new byte[size][size];
|
||||
|
||||
byte val = (byte)bi;
|
||||
int val = (bi & 0xff) == 128 ? 128 : (byte)bi;
|
||||
//check each bit/direction
|
||||
for(int j = 0; j < 8; j++){
|
||||
if((val & (1 << j)) != 0){
|
||||
|
||||
Reference in New Issue
Block a user