mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Fix MSVC build broken by 34d32ce
`round` -> `myround` Remove superflous `floor` calls
This commit is contained in:
@@ -726,7 +726,7 @@ void Server::handleCommand_ClientReady(NetworkPacket* pkt)
|
||||
if (m_shutdown_timer > 0.0f) {
|
||||
std::wstringstream ws;
|
||||
ws << L"*** Server shutting down in "
|
||||
<< duration_to_string(round(m_shutdown_timer)).c_str() << ".";
|
||||
<< duration_to_string(myround(m_shutdown_timer)).c_str() << ".";
|
||||
SendChatMessage(pkt->getPeerId(), ws.str());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user