mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-24 11:55:13 -06:00
build area depth nudge
This commit is contained in:
parent
ea4eccafd2
commit
0ca71d6bca
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,8 @@ import kotlin.math.abs
|
|||
* @author Emperor
|
||||
*/
|
||||
object MapChunkRenderer {
|
||||
const val buildAreaDepth = 6
|
||||
|
||||
/**
|
||||
* Sends the map chunk rendering packet.
|
||||
* @param player The player.
|
||||
|
|
@ -23,7 +25,6 @@ object MapChunkRenderer {
|
|||
val updated: MutableList<RegionChunk> = ArrayList()
|
||||
val current: MutableList<MutableList<RegionChunk>> = ArrayList()
|
||||
|
||||
val buildAreaDepth = 6
|
||||
for (dcx in -buildAreaDepth..+buildAreaDepth) {
|
||||
val addX = ArrayList<RegionChunk>()
|
||||
for (dcy in -buildAreaDepth..+buildAreaDepth) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue