diff --git a/src/gamestate/game_scene.cpp b/src/gamestate/game_scene.cpp index 02e7fa77a..427a249ee 100644 --- a/src/gamestate/game_scene.cpp +++ b/src/gamestate/game_scene.cpp @@ -867,7 +867,16 @@ void console_log_other(sys::state& state, std::string_view message) { auto dt = state.current_date.to_ymd(state.start_date); auto dtstr = std::to_string(dt.year) + "." + std::to_string(dt.month) + "." + std::to_string(dt.day); msg = "" + std::string(state.network_state.nickname.to_string_view()) + "|" + dtstr + "| " + msg; +#ifndef NDEBUG +#ifdef _WIN32 + OutputDebugStringA(msg.c_str()); + OutputDebugStringA("\n"); +#else + std::clog << msg + "\n"; +#endif +#else state.push_log_message(std::move(msg)); +#endif } diff --git a/src/map/map.cpp b/src/map/map.cpp index c54548af0..b40a6f245 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -3441,6 +3441,23 @@ void display_data::set_province_text_lines(sys::state& state, std::vector