mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Use API identical to std classes where possible
This commit is contained in:
@ -38,7 +38,7 @@ void CMapHandler::waitForOngoingAnimations()
|
||||
while(CGI->mh->hasOngoingAnimations())
|
||||
{
|
||||
auto unlockPim = vstd::makeUnlockGuard(*CPlayerInterface::pim);
|
||||
boost::this_thread::sleep(boost::posix_time::milliseconds(1));
|
||||
boost::this_thread::sleep_for(boost::chrono::milliseconds(1));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user