diff --git a/Code/client/Services/Generic/MagicService.cpp b/Code/client/Services/Generic/MagicService.cpp index 478337407..73e8a5460 100644 --- a/Code/client/Services/Generic/MagicService.cpp +++ b/Code/client/Services/Generic/MagicService.cpp @@ -148,7 +148,7 @@ void MagicService::OnSpellCastEvent(const SpellCastEvent& acSpellCastEvent) cons if (targetEntityIt != std::end(targetView)) { - auto desiredTargetIdRes = utils::GetServerId(*targetEntityIt); + auto desiredTargetIdRes = Utils::GetServerId(*targetEntityIt); if (desiredTargetIdRes.has_value()) { spdlog::info("has_value"); @@ -229,7 +229,7 @@ void MagicService::OnNotifySpellCast(const NotifySpellCast& acMessage) const noe auto view = m_world.view(); for (auto entity : view) { - std::optional serverIdRes = utils::GetServerId(entity); + std::optional serverIdRes = Utils::GetServerId(entity); if (!serverIdRes.has_value()) continue;