Skip to content

Commit

Permalink
fixup! Do not output text formatting sequences to the log file.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Oct 5, 2024
1 parent 5541ba4 commit 263289c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion source/CDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void CDebug::Trace(CLEO::eLogLevel level, const char* msg)
// add separator line if frame rendered since last log entry
if (lastFrame != CTimer::m_FrameCounter)
{
m_hFile << timestampStr << std::endl;
m_hFile << std::endl << timestampStr;
lastFrame = CTimer::m_FrameCounter;
}

Expand Down
2 changes: 0 additions & 2 deletions source/CleoBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ namespace CLEO

saveSlot = MenuManager->m_bWantToLoad ? MenuManager->m_nSelectedSaveGame : -1;

TRACE(""); // separator
TRACE("Starting new game, save slot: %d", saveSlot);

// execute registered callbacks
Expand All @@ -200,7 +199,6 @@ namespace CLEO
if (!m_bGameInProgress) return;
m_bGameInProgress = false;

TRACE(""); // separator
TRACE("Ending current game");
GetInstance().CallCallbacks(eCallbackId::GameEnd); // execute registered callbacks
ScriptEngine.GameEnd();
Expand Down

0 comments on commit 263289c

Please sign in to comment.