1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Show opponent name in 1-vs-1 games, minor tweaks

This commit is contained in:
Ivan Savenko
2024-03-20 19:49:28 +02:00
parent 829b754091
commit b50d9de912
5 changed files with 22 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ static std::string getCurrentTimeFormatted(int timeOffsetSeconds = 0)
return TextOperations::getFormattedTimeLocal(std::chrono::system_clock::to_time_t(timeNowChrono));
}
const std::vector<GameChatMessage> & GameChatHandler::getChatHistory()
const std::vector<GameChatMessage> & GameChatHandler::getChatHistory() const
{
return chatHistory;
}