mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 05:24:06 +09:00
LibGDX, here I am.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package net.torvald.terrarum.console
|
||||
|
||||
import net.torvald.terrarum.Terrarum
|
||||
import net.torvald.terrarum.TerrarumGDX
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 16-01-25.
|
||||
@@ -18,14 +18,14 @@ internal object Zoom : ConsoleCommand {
|
||||
return
|
||||
}
|
||||
|
||||
if (zoom < Terrarum.ingame!!.ZOOM_MIN) {
|
||||
zoom = Terrarum.ingame!!.ZOOM_MIN
|
||||
if (zoom < TerrarumGDX.ingame!!.ZOOM_MIN) {
|
||||
zoom = TerrarumGDX.ingame!!.ZOOM_MIN
|
||||
}
|
||||
else if (zoom > Terrarum.ingame!!.ZOOM_MAX) {
|
||||
zoom = Terrarum.ingame!!.ZOOM_MAX
|
||||
else if (zoom > TerrarumGDX.ingame!!.ZOOM_MAX) {
|
||||
zoom = TerrarumGDX.ingame!!.ZOOM_MAX
|
||||
}
|
||||
|
||||
Terrarum.ingame!!.screenZoom = zoom
|
||||
TerrarumGDX.ingame!!.screenZoom = zoom
|
||||
|
||||
System.gc()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user