mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-30 01:29:21 +02:00
introduce 7.90 writeable documents written date
This commit is contained in:
parent
b450183ba2
commit
096887b4d9
@ -1773,11 +1773,12 @@ void ProtocolGame::sendTextWindow(uint32_t windowTextId, Item* item, uint16_t ma
|
||||
msg.add<uint16_t>(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<uint16_t>(0x00);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user