Skip to content

Commit

Permalink
ChaosMod: Fix MSVC build
Browse files Browse the repository at this point in the history
  • Loading branch information
pongo1231 committed Jan 17, 2025
1 parent 01f0fd5 commit 02fbcf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ChaosMod/Components/EffectDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ static void _DispatchEffect(EffectDispatcher *effectDispatcher, const EffectDisp
if (!effectDispatcher->OnPreDispatchEffect.Fire(entry.Identifier))
return;

LOG("Dispatching effect \"" << effectData.Name << "\""
#ifdef CHAOSDEBUG
<< " (" << effectData.Id << ")"
DEBUG_LOG("Dispatching effect \"" << effectData.Name << "\"" << " (" << effectData.Id << ")");
#else
LOG("Dispatching effect \"" << effectData.Name << "\"");
#endif
);

// Increase weight for all effects first
for (auto &[effectId, effectData] : g_EnabledEffects)
Expand Down

0 comments on commit 02fbcf1

Please sign in to comment.