fixed LB/RB/BR bug (actor jitters because of false positive collision?) with a hack

This commit is contained in:
minjaesong
2017-06-01 23:07:07 +09:00
parent da2452c84e
commit b4042f0060
4 changed files with 92 additions and 38 deletions

View File

@@ -11,7 +11,7 @@ object LandUtil {
fun getBlockAddr(x: Int, y: Int): BlockAddress =
(Terrarum.ingame!!.world.width * y).toLong() + x
fun resolveAbsoluteBlockNumber(t: BlockAddress): Pair<Int, Int> =
fun resolveBlockAddr(t: BlockAddress): Pair<Int, Int> =
Pair((t % Terrarum.ingame!!.world.width).toInt(), (t / Terrarum.ingame!!.world.width).toInt())
/**