mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
Codechange: [Win32] use CSleep() instead of Sleep() like everywhere else
Functional it is identical. Just helps future-us when searching for sleeps.
This commit is contained in:
parent
689404a4a1
commit
881d17d8f1
@ -1241,7 +1241,7 @@ void VideoDriver_Win32::MainLoop()
|
||||
|
||||
/* Release the thread while sleeping */
|
||||
if (_draw_threaded) draw_lock.unlock();
|
||||
Sleep(1);
|
||||
CSleep(1);
|
||||
if (_draw_threaded) draw_lock.lock();
|
||||
|
||||
NetworkDrawChatMessage();
|
||||
|
Loading…
Reference in New Issue
Block a user