projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix MSVC build broken by 34d32ce
[oweals/minetest.git]
/
src
/
network
/
serverpackethandler.cpp
diff --git
a/src/network/serverpackethandler.cpp
b/src/network/serverpackethandler.cpp
index 2e4c5b6be8cf54c94df7384fd5fdacf0f2a64957..174b827f0147cced12fa602ac9655075e7525f75 100644
(file)
--- a/
src/network/serverpackethandler.cpp
+++ b/
src/network/serverpackethandler.cpp
@@
-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 "
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(
my
round(m_shutdown_timer)).c_str() << ".";
SendChatMessage(pkt->getPeerId(), ws.str());
}
}
SendChatMessage(pkt->getPeerId(), ws.str());
}
}