From 019257511deb85813731531ab8a8b6d118b3d95c Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Tue, 22 Oct 2019 22:27:04 -0700 Subject: [PATCH] Changes resulting from #62 --- core/src/com/riiablo/Client.java | 2 +- core/src/com/riiablo/map/MapRenderer.java | 2 +- desktop/src/com/riiablo/DesktopLauncher.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/com/riiablo/Client.java b/core/src/com/riiablo/Client.java index b2a7b35e..531e65d0 100644 --- a/core/src/com/riiablo/Client.java +++ b/core/src/com/riiablo/Client.java @@ -384,7 +384,7 @@ public class Client extends Game { if (DEBUG_VIEWPORTS) { shapes.begin(ShapeRenderer.ShapeType.Filled); shapes.setColor(Color.DARK_GRAY); - shapes.rect(0, 0, 853, 480); + shapes.rect(0, 0, 854, 480); shapes.setColor(Color.GRAY); shapes.rect(0, 0, 640, 480); shapes.setColor(Color.BLUE); diff --git a/core/src/com/riiablo/map/MapRenderer.java b/core/src/com/riiablo/map/MapRenderer.java index d0ebc6fb..bb2d321e 100644 --- a/core/src/com/riiablo/map/MapRenderer.java +++ b/core/src/com/riiablo/map/MapRenderer.java @@ -637,7 +637,7 @@ public class MapRenderer { texture = tile.tile.texture; } //if (texture.getTexture().getTextureObjectHandle() == 0) return; - batch.draw(texture, px, py, texture.getRegionWidth(), texture.getRegionHeight() + 1); + batch.draw(texture, px, py, texture.getRegionWidth(), texture.getRegionHeight()); } } diff --git a/desktop/src/com/riiablo/DesktopLauncher.java b/desktop/src/com/riiablo/DesktopLauncher.java index e36c613e..5f60cf2b 100644 --- a/desktop/src/com/riiablo/DesktopLauncher.java +++ b/desktop/src/com/riiablo/DesktopLauncher.java @@ -79,7 +79,7 @@ public class DesktopLauncher { //config.height = 720;//480; config.allowSoftwareMode = cmd != null && cmd.hasOption("allowSoftwareMode"); - int width = NumberUtils.toInt(cmd.getOptionValue('i', "853")); + int width = NumberUtils.toInt(cmd.getOptionValue('i', "854")); int height = NumberUtils.toInt(cmd.getOptionValue('o', "480")); config.width = width; config.height = height;