Duo range buff + graphite ammo buff
This commit is contained in:
@@ -1203,10 +1203,13 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
block.drawOverlay(x, y, rotation);
|
||||
}
|
||||
|
||||
public void drawItemSelection(UnlockableContent selection){
|
||||
if(selection != null && Core.settings.getBool("displayselection", true)){
|
||||
TextureRegion region = selection.fullIcon;
|
||||
Draw.rect(region, x, y + block.size * tilesize / 2f + 4, 8f * region.ratio(), 8f);
|
||||
public void drawItemSelection(@Nullable UnlockableContent selection){
|
||||
if(selection != null){
|
||||
float dx = x - block.size * tilesize/2f, dy = y + block.size * tilesize/2f, s = iconSmall / 4f;
|
||||
Draw.mixcol(Color.darkGray, 1f);
|
||||
Draw.rect(selection.fullIcon, dx, dy - 1, s, s);
|
||||
Draw.reset();
|
||||
Draw.rect(selection.fullIcon, dx, dy, s, s);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user