Light cleanup
This commit is contained in:
@@ -540,7 +540,7 @@ public class Bullets implements ContentList{
|
||||
|
||||
Tmp.v1.trns(b.rotation(), baseLen * 1.1f);
|
||||
|
||||
renderer.lights.line(b.x(), b.y(), b.x() + Tmp.v1.x, b.y() + Tmp.v1.y, 40, Color.orange, 0.7f);
|
||||
Drawf.light(b.x(), b.y(), b.x() + Tmp.v1.x, b.y() + Tmp.v1.y, 40, Color.orange, 0.7f);
|
||||
Draw.reset();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -490,7 +490,7 @@ public class Fx{
|
||||
|
||||
color();
|
||||
|
||||
renderer.lights.add(e.x, e.y, 20f * e.fslope(), Pal.lightFlame, 0.5f);
|
||||
Drawf.light(e.x, e.y, 20f * e.fslope(), Pal.lightFlame, 0.5f);
|
||||
}),
|
||||
|
||||
fireSmoke = new Effect(35f, e -> {
|
||||
|
||||
Reference in New Issue
Block a user