From f9034eba08fd8669048467400b1905b66db7712a Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Sat, 29 Sep 2018 17:07:35 +0100 Subject: [PATCH] That should have been a Vector3i --- voxel_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxel_map.cpp b/voxel_map.cpp index 50c2cc6..65cc553 100644 --- a/voxel_map.cpp +++ b/voxel_map.cpp @@ -119,7 +119,7 @@ void VoxelMap::get_buffer_copy(Vector3i min_pos, VoxelBuffer &dst_buffer, unsign Vector3i min_block_pos = voxel_to_block(min_pos); Vector3i max_block_pos = voxel_to_block(max_pos - Vector3i(1, 1, 1)) + Vector3i(1, 1, 1); - ERR_FAIL_COND((max_block_pos - min_block_pos) != Vector3(3, 3, 3)); + ERR_FAIL_COND((max_block_pos - min_block_pos) != Vector3i(3, 3, 3)); const Vector3i block_size_v(_block_size, _block_size, _block_size);