Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assaultcube/AC
/ sl_sleep
Function
sl_sleep
source/src/tools.cpp:932–935 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
930
// platform dependent stuff not covered by enet (use POSIX or, if possible, SDL)
931
#ifdef AC_USE_SDL_THREADS
932
void sl_sleep(int duration)
933
{
934
SDL_Delay(duration);
935
}
936
#else
937
void sl_sleep(int duration)
938
{
Callers
1
connect
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected