summaryrefslogtreecommitdiffstats
path: root/src/game/client/resource/sound_effect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/resource/sound_effect.cc')
-rw-r--r--src/game/client/resource/sound_effect.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/client/resource/sound_effect.cc b/src/game/client/resource/sound_effect.cc
index 4cc5b70..6b87dcc 100644
--- a/src/game/client/resource/sound_effect.cc
+++ b/src/game/client/resource/sound_effect.cc
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: BSD-2-Clause
+// Copyright (c) 2025 Kirill Dmitrievich
+// File: sound_effect.cc
+// Description: Sound effect resource
+
#include "client/pch.hh"
#include "client/resource/sound_effect.hh"
@@ -35,7 +40,7 @@ static const void* sound_effect_load_func(const char* name, std::uint32_t flags)
auto file = PHYSFS_openRead(name);
if(file == nullptr) {
- spdlog::warn("sfx: {}: {}", name, physfs_error());
+ spdlog::warn("sfx: {}: {}", name, physfs::last_error());
return nullptr;
}