MCPcopy Create free account
hub / github.com/diasurgical/devilution / FreeDlg

Function FreeDlg

Source/appfat.cpp:35–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void FreeDlg()
36{
37 if (terminating && cleanup_thread_id != SDL_GetThreadID(NULL))
38 SDL_Delay(20000);
39
40 terminating = TRUE;
41 cleanup_thread_id = SDL_GetThreadID(NULL);
42
43 if (gbMaxPlayers > 1) {
44 if (SNetLeaveGame(3))
45 SDL_Delay(2000);
46 }
47
48 SNetDestroy();
49}
50
51void DrawDlg(char *pszFmt, ...)
52{

Callers 3

app_fatalFunction · 0.85
ErrDlgFunction · 0.85
FileErrDlgFunction · 0.85

Calls 2

SNetLeaveGameFunction · 0.85
SNetDestroyFunction · 0.85

Tested by

no test coverage detected