Slightly more accurate unit payloads

This commit is contained in:
Anuken
2022-04-19 21:32:43 -04:00
parent 6d7f8a1123
commit c883fbdb81
4 changed files with 13 additions and 10 deletions

View File

@@ -141,8 +141,8 @@ public class UnitPayload implements Payload{
//TODO should not happen
if(unit.type == null) return;
//TODO this would be more accurate but has all sorts of associated problems
if(false){
//TODO this would be more accurate but has all sorts of associated problems (?)
if(true){
unit.elevation = 0f;
//avoids drawing mining or building
unit.type.draw(unit);