Misc fog of war fixes

This commit is contained in:
Anuken
2022-02-19 16:32:50 -05:00
parent 895fa784cf
commit 99683bd232
3 changed files with 11 additions and 19 deletions

View File

@@ -122,7 +122,7 @@ public class FogRenderer{
}
void poly(Rect check, float x, float y, float rad){
if(check.overlaps(x - rad / 2f, y - rad / 2f, rad * 2f, rad * 2f)){
if(check.overlaps(x - rad, y - rad, rad * 2f, rad * 2f)){
Fill.poly(x, y, 20, rad);
}
}