1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

add option to log chat history

This commit is contained in:
Ted John
2016-05-30 18:01:17 +01:00
parent 618d13a9a3
commit feb65ea93c
6 changed files with 24 additions and 8 deletions

View File

@@ -944,6 +944,10 @@ void Network::BeginChatLog()
void Network::AppendChatLog(const utf8 *text)
{
if (!gConfigNetwork.log_chat) {
return;
}
const utf8 *chatLogPath = _chatLogPath.c_str();
utf8 directory[MAX_PATH];