Skip to content

Commit

Permalink
Hide combo graph reporting behind verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Jul 27, 2019
1 parent a8b6e46 commit aad1817
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/Etterna/Actor/Menus/ComboGraph.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#include "Etterna/Globals/global.h"
#include "Etterna/Globals/global.h"
#include "Etterna/Actor/Base/ActorUtil.h"
#include "Etterna/Actor/Base/BitmapText.h"
#include "ComboGraph.h"
#include "RageUtil/Misc/RageLog.h"
#include "Etterna/Models/Misc/StageStats.h"
#include "Etterna/Singletons/PrefsManager.h"

const int MinComboSizeToShow = 5;

Expand Down Expand Up @@ -86,11 +87,12 @@ ComboGraph::Set(const StageStats& s, const PlayerStageStats& pss)

const bool bIsMax = (combo.GetStageCnt() == iMaxComboSize);

LOG->Trace("combo %i is %f+%f of %f",
i,
combo.m_fStartSecond,
combo.m_fSizeSeconds,
fLastSecond);
if (PREFSMAN->m_verbose_log > 1)
LOG->Trace("combo %i is %f+%f of %f",
i,
combo.m_fStartSecond,
combo.m_fSizeSeconds,
fLastSecond);
Actor* pSprite = bIsMax ? m_pMaxCombo->Copy() : m_pNormalCombo->Copy();

const float fStart =
Expand Down

0 comments on commit aad1817

Please sign in to comment.