summaryrefslogtreecommitdiffstats
path: root/game/shared/world/chunk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/world/chunk.cc')
-rw-r--r--game/shared/world/chunk.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/shared/world/chunk.cc b/game/shared/world/chunk.cc
index 24a8d06..f689fc1 100644
--- a/game/shared/world/chunk.cc
+++ b/game/shared/world/chunk.cc
@@ -21,7 +21,8 @@ voxel_id world::Chunk::get_voxel(const std::size_t index) const
{
if(index >= CHUNK_VOLUME) {
return NULL_VOXEL_ID;
- } else {
+ }
+ else {
return m_voxels[index];
}
}