Fixed shaky camera, many other small bugs

This commit is contained in:
Anuken
2018-05-30 23:51:42 -04:00
parent fae7bfa8c5
commit 857b76980b
12 changed files with 81 additions and 36 deletions
@@ -151,7 +151,7 @@ public class OverlayRenderer {
float x = unit.getDrawPosition().x;
float y = unit.getDrawPosition().y;
if(unit == players[0] && players.length == 1 && snapCamera && Settings.getBool("smoothcam") && Settings.getBool("pixelate")) {
if(unit == players[0] && players.length == 1 && snapCamera) {
x = (int)x;
y = (int)y;
}