mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 14:34:04 +09:00
render is fixed (tile breakage not tested as loading items are still wip); air tile no longer has tilenum of 0
This commit is contained in:
@@ -152,6 +152,9 @@ open class GameWorld : Disposable {
|
||||
tileNumberToNameMap[it.value.tileNumber] = it.key
|
||||
tileNameToNumberMap[it.key] = it.value.tileNumber
|
||||
}
|
||||
|
||||
// AN EXCEPTIONAL TERM: tilenum 0 is always redirected to Air tile, even if the tilenum for actual Air tile is not zero
|
||||
tileNumberToNameMap[0] = Block.AIR
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -201,6 +204,9 @@ open class GameWorld : Disposable {
|
||||
// TODO rename wire map
|
||||
}
|
||||
}
|
||||
|
||||
// AN EXCEPTIONAL TERM: tilenum 0 is always redirected to Air tile, even if the tilenum for actual Air tile is not zero
|
||||
tileNumberToNameMap[0] = Block.AIR
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user