mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Fix MSVC build broken by 34d32ce
`round` -> `myround` Remove superflous `floor` calls
This commit is contained in:
parent
04cc9de8f2
commit
6120251320
3 changed files with 5 additions and 5 deletions
|
@ -1047,7 +1047,7 @@ void Server::AsyncRunStep(bool initial_step)
|
|||
std::wstringstream ws;
|
||||
|
||||
ws << L"*** Server shutting down in "
|
||||
<< duration_to_string(round(m_shutdown_timer - dtime)).c_str()
|
||||
<< duration_to_string(myround(m_shutdown_timer - dtime)).c_str()
|
||||
<< ".";
|
||||
|
||||
infostream << wide_to_utf8(ws.str()).c_str() << std::endl;
|
||||
|
@ -3502,7 +3502,7 @@ void Server::requestShutdown(const std::string &msg, bool reconnect, float delay
|
|||
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()
|
||||
<< ".";
|
||||
|
||||
infostream << wide_to_utf8(ws.str()).c_str() << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue