Skip to content

Commit

Permalink
fix: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed Mar 6, 2022
1 parent 7ff072d commit 4e42a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/client/Services/Generic/MagicService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -229,7 +229,7 @@ void MagicService::OnNotifySpellCast(const NotifySpellCast& acMessage) const noe
auto view = m_world.view<FormIdComponent>();
for (auto entity : view)
{
std::optional<uint32_t> serverIdRes = utils::GetServerId(entity);
std::optional<uint32_t> serverIdRes = Utils::GetServerId(entity);
if (!serverIdRes.has_value())
continue;

Expand Down

0 comments on commit 4e42a81

Please sign in to comment.