diff --git a/src/protocolgame.cpp b/src/protocolgame.cpp index 7d1d50e..42c71f8 100644 --- a/src/protocolgame.cpp +++ b/src/protocolgame.cpp @@ -1773,11 +1773,12 @@ void ProtocolGame::sendTextWindow(uint32_t windowTextId, Item* item, uint16_t ma msg.add(0x00); } - if (player->getOperatingSystem() >= CLIENTOS_OTCLIENT_LINUX) { + if (g_game.getClientVersion() >= CLIENT_VERSION_790) { time_t writtenDate = item->getDate(); if (writtenDate != 0) { msg.addString(formatDateShort(writtenDate)); - } else { + } + else { msg.add(0x00); } }