From 2d35c102c20155ad078cba1bb5d046bbcb137c7d Mon Sep 17 00:00:00 2001 From: WildEgo Date: Sat, 1 Jun 2024 18:59:04 +0100 Subject: [PATCH] fix: Dumb syslog usage. --- src/game/src/questmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/src/questmanager.cpp b/src/game/src/questmanager.cpp index 8d4bd65..cc69d67 100644 --- a/src/game/src/questmanager.cpp +++ b/src/game/src/questmanager.cpp @@ -221,7 +221,7 @@ namespace quest string name = line.substr(line.find('\t') + 1); if (test_server) - sys_log(0, "QUEST reading script of %s(%d)", name.c_str(), type); + SPDLOG_DEBUG("QUEST reading script of %s(%d)", name.c_str(), type); if (quest_name == name) { @@ -231,7 +231,7 @@ namespace quest } } else - sys_err("QUEST Cannot open 'questcategory.txt'"); + SPDLOG_ERROR("QUEST Cannot open 'questcategory.txt'"); return quest_type; }