Use the PYROGENESIS_VERSION macro instead of a global

Reviewed-At: https://gitea.wildfiregames.com/0ad/0ad/pulls/8222
This commit is contained in:
Itms
2025-10-21 20:41:10 +02:00
parent f0c8db6422
commit 50f6da2a13
12 changed files with 19 additions and 15 deletions
+2 -2
View File
@@ -77,8 +77,8 @@ CLogger::CLogger(std::ostream& mainLog, std::ostream& interestingLog, const bool
m_InterestingLog{interestingLog},
m_UseDebugPrintf{useDebugPrintf}
{
m_MainLog << html_header0 << engine_version << ") Main log" << html_header1;
m_InterestingLog << html_header0 << engine_version << ") Main log (warnings and errors only)" << html_header1;
m_MainLog << html_header0 << PYROGENESIS_VERSION << ") Main log" << html_header1;
m_InterestingLog << html_header0 << PYROGENESIS_VERSION << ") Main log (warnings and errors only)" << html_header1;
}
CLogger::~CLogger()