mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
msvc build fix
This commit is contained in:
parent
1627e21c1d
commit
b3a1cad0e1
5 changed files with 9 additions and 5 deletions
|
|
@ -53,8 +53,8 @@ Level::~Level(){
|
|||
void Level::loadMatrix(int32_t x, int32_t z, uint32_t radius) {
|
||||
chunks->setCenter(x, z);
|
||||
uint32_t diameter = std::min(
|
||||
radius*2L,
|
||||
(settings.chunks.loadDistance.get() + settings.chunks.padding.get()) * 2
|
||||
radius*2LL,
|
||||
(settings.chunks.loadDistance.get() + settings.chunks.padding.get()) * 2LL
|
||||
);
|
||||
if (chunks->w != diameter) {
|
||||
chunks->resize(diameter, diameter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue