From 3475f40b4e3fa32a4aacf1ded257d06cab1d44f9 Mon Sep 17 00:00:00 2001 From: Olanti Date: Wed, 13 Sep 2023 03:17:30 +0300 Subject: [PATCH] Print game bitness in debug log --- src/debug.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/debug.cpp b/src/debug.cpp index 4585b34c3c68..f5738467ff03 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -685,7 +685,8 @@ void DebugFile::init( DebugOutput output_mode, const std::string &filename ) filename.c_str(), std::ios::out | std::ios::app ); *file << "\n\n-----------------------------------------\n"; *file << get_time() << " : Starting log.\n"; - DebugLog( DL::Info, DC::Main ) << "Cataclysm BN version " << getVersionString(); + DebugLog( DL::Info, DC::Main ) << "Cataclysm BN version " << getVersionString() << " " << + game_info::bitness_string(); if( rename_failed ) { DebugLog( DL::Info, DC::Main ) << "Moving the previous log file to " << oldfile << " failed.\n"