Added option to not pixelate the screen

This commit is contained in:
Anuken
2017-11-20 13:58:50 -05:00
parent 89805773c7
commit aedf46257a
3 changed files with 36 additions and 11 deletions
@@ -46,7 +46,7 @@ public class Player extends DestructibleEntity{
@Override
public void draw(){
if(Vars.snapCamera && Settings.getBool("smoothcam")){
if(Vars.snapCamera && Settings.getBool("smoothcam") && Settings.getBool("pixelate")){
Draw.rect("player", (int)x, (int)y, direction.angle()-90);
}else{
Draw.rect("player", x, y, direction.angle()-90);