From 8bcbd2729388edc63c82d77d314b583af1447c49 Mon Sep 17 00:00:00 2001 From: untodesu Date: Sun, 14 Sep 2025 19:16:44 +0500 Subject: Cleanup math with qfengine ports again --- game/server/whitelist.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'game/server/whitelist.cc') diff --git a/game/server/whitelist.cc b/game/server/whitelist.cc index 053809e..f2599b9 100644 --- a/game/server/whitelist.cc +++ b/game/server/whitelist.cc @@ -6,6 +6,7 @@ #include "core/config/string.hh" #include "core/io/config_map.hh" +#include "core/io/physfs.hh" #include "core/math/crc64.hh" @@ -47,7 +48,7 @@ void whitelist::init_late(void) PHYSFS_File* file = PHYSFS_openRead(whitelist::filename.c_str()); if(file == nullptr) { - spdlog::warn("whitelist: {}: {}", whitelist::filename.get(), PHYSFS_getErrorByCode(PHYSFS_getLastErrorCode())); + spdlog::warn("whitelist: {}: {}", whitelist::filename.get(), io::physfs_error()); whitelist::enabled.set_value(false); return; } -- cgit