Many misc bugfixes

This commit is contained in:
Anuken
2022-04-26 10:13:33 -04:00
parent 8f5b3ee1e0
commit 42781bd754
4 changed files with 17 additions and 3 deletions

View File

@@ -143,9 +143,11 @@ public class UnitPayload implements Payload{
//TODO this would be more accurate but has all sorts of associated problems (?)
if(true){
float e = unit.elevation;
unit.elevation = 0f;
//avoids drawing mining or building
unit.type.draw(unit);
unit.elevation = e;
return;
}