diff options
Diffstat (limited to 'game/client/world')
| -rw-r--r-- | game/client/world/voxel_sounds.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/client/world/voxel_sounds.cc b/game/client/world/voxel_sounds.cc index 235a851..71ea1fc 100644 --- a/game/client/world/voxel_sounds.cc +++ b/game/client/world/voxel_sounds.cc @@ -9,7 +9,7 @@ constexpr static std::size_t NUM_SURFACES = static_cast<std::size_t>(world::voxe static std::vector<resource_ptr<SoundEffect>> footsteps_sounds[NUM_SURFACES]; static std::mt19937_64 randomizer; -static void add_footsteps_effect(world::voxel_surface surface, const char* name) +static void add_footsteps_effect(world::voxel_surface surface, std::string_view name) { if(auto effect = resource::load<SoundEffect>(name)) { auto surface_index = static_cast<std::size_t>(surface); |
