summaryrefslogtreecommitdiffstats
path: root/game/shared/feature.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/feature.cc')
-rw-r--r--game/shared/feature.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/game/shared/feature.cc b/game/shared/feature.cc
index 845bb40..eb6cceb 100644
--- a/game/shared/feature.cc
+++ b/game/shared/feature.cc
@@ -1,4 +1,5 @@
#include "shared/pch.hh"
+
#include "shared/feature.hh"
#include "shared/chunk.hh"
@@ -6,7 +7,7 @@
#include "shared/dimension.hh"
#include "shared/voxel_storage.hh"
-void Feature::place(const voxel_pos &vpos, Dimension *dimension) const
+void Feature::place(const voxel_pos& vpos, Dimension* dimension) const
{
for(const auto [rpos, voxel, overwrite] : (*this)) {
auto it_vpos = vpos + rpos;
@@ -28,7 +29,7 @@ void Feature::place(const voxel_pos &vpos, Dimension *dimension) const
}
}
-void Feature::place(const voxel_pos &vpos, const chunk_pos &cpos, VoxelStorage &voxels) const
+void Feature::place(const voxel_pos& vpos, const chunk_pos& cpos, VoxelStorage& voxels) const
{
for(const auto [rpos, voxel, overwrite] : (*this)) {
auto it_vpos = vpos + rpos;