Slightly clearer fire color
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package mindustry.entities.comp;
|
||||
|
||||
import arc.*;
|
||||
import arc.graphics.*;
|
||||
import arc.graphics.g2d.*;
|
||||
import arc.math.*;
|
||||
import arc.math.geom.*;
|
||||
@@ -116,7 +115,7 @@ abstract class FireComp implements Timedc, Posc, Syncc, Drawc{
|
||||
}
|
||||
}
|
||||
|
||||
Draw.color(Color.white, Mathf.clamp(warmup / warmupDuration));
|
||||
Draw.color(1f, 1f, 1f, Mathf.clamp(warmup / warmupDuration));
|
||||
Draw.z(Layer.effect);
|
||||
Draw.rect(regions[Math.min((int)animation, regions.length - 1)], x + Mathf.randomSeedRange((int)y, 2), y + Mathf.randomSeedRange((int)x, 2));
|
||||
Draw.reset();
|
||||
|
||||
Reference in New Issue
Block a user