|
@@ -483,7 +483,7 @@ public class UnitGraph extends JPanel implements MouseListener, MouseMotionListe
|
|
|
}
|
|
|
}
|
|
|
private UnitGraphPoint generateUnitGraphPoint(Position pos) {
|
|
|
- UnitGraphPoint temp = new UnitGraphPoint((double)(pos.x - border)/(double)widthWithBorder,(double)(pos.y - border)/(double)heightWithBorder,true);
|
|
|
+ UnitGraphPoint temp = new UnitGraphPoint((double)(pos.x - border)/(double)widthWithBorder,1 - (double) (pos.y - border)/(double)heightWithBorder,true);
|
|
|
temp.displayedPosition = pos;
|
|
|
return temp;
|
|
|
}
|