killed old zoom so that framebuffer would render without hack

This commit is contained in:
minjaesong
2017-07-04 20:11:54 +09:00
parent db2fd0c8e4
commit 14a745b18d
5 changed files with 106 additions and 34 deletions

View File

@@ -18,11 +18,11 @@ internal object Zoom : ConsoleCommand {
return
}
if (zoom < TerrarumGDX.ingame!!.ZOOM_MIN) {
zoom = TerrarumGDX.ingame!!.ZOOM_MIN
if (zoom < TerrarumGDX.ingame!!.ZOOM_MINIMUM) {
zoom = TerrarumGDX.ingame!!.ZOOM_MINIMUM
}
else if (zoom > TerrarumGDX.ingame!!.ZOOM_MAX) {
zoom = TerrarumGDX.ingame!!.ZOOM_MAX
else if (zoom > TerrarumGDX.ingame!!.ZOOM_MAXIMUM) {
zoom = TerrarumGDX.ingame!!.ZOOM_MAXIMUM
}
TerrarumGDX.ingame!!.screenZoom = zoom