mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 21:41:25 -08:00
fwe (#10199)
This commit is contained in:
parent
36250db40d
commit
08c1241fa3
1 changed files with 2 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ public class ContinuousLaserBulletType extends ContinuousBulletType{
|
|||
incendSpread = 5;
|
||||
incendChance = 0.4f;
|
||||
lightColor = Color.orange;
|
||||
lightOpacity = 0.7f;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -66,7 +67,7 @@ public class ContinuousLaserBulletType extends ContinuousBulletType{
|
|||
|
||||
Tmp.v1.trns(b.rotation(), realLength * 1.1f);
|
||||
|
||||
Drawf.light(b.x, b.y, b.x + Tmp.v1.x, b.y + Tmp.v1.y, lightStroke, lightColor, 0.7f);
|
||||
Drawf.light(b.x, b.y, b.x + Tmp.v1.x, b.y + Tmp.v1.y, lightStroke, lightColor, lightOpacity);
|
||||
Draw.reset();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue