From 88c01588aa0830e219eaa62588839e4d1e2883ce Mon Sep 17 00:00:00 2001 From: untodesu Date: Wed, 25 Jun 2025 00:44:36 +0500 Subject: Clang-format the entire source code --- game/client/voxel_sounds.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'game/client/voxel_sounds.cc') diff --git a/game/client/voxel_sounds.cc b/game/client/voxel_sounds.cc index a18c130..fd02a8e 100644 --- a/game/client/voxel_sounds.cc +++ b/game/client/voxel_sounds.cc @@ -1,4 +1,5 @@ #include "client/pch.hh" + #include "client/voxel_sounds.hh" #include "client/sound_effect.hh" @@ -8,7 +9,7 @@ constexpr static std::size_t NUM_SURFACES = static_cast(voxel_surfa static std::vector> footsteps_sounds[NUM_SURFACES]; static std::mt19937_64 randomizer; -static void add_footsteps_effect(voxel_surface surface, const char *name) +static void add_footsteps_effect(voxel_surface surface, const char* name) { if(auto effect = resource::load(name)) { auto surface_index = static_cast(surface); @@ -25,7 +26,7 @@ static resource_ptr get_footsteps_effect(voxel_surface surface) return nullptr; } - const auto &sounds = footsteps_sounds[surface_index]; + const auto& sounds = footsteps_sounds[surface_index]; if(sounds.empty()) { // No sounds for this surface -- cgit