projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed graphical bugs caused by commit f77bbb8f and 1b4dc759
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index 3ab46d0f1b2b54e31265149df4209e1dcc6b3016..3f060862a525d58b3a7c8c6d94cbed331db9f1f5 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-6194,16
+6194,13
@@
void CloseAllAndExit(int exit_value)
FreeAllImages();
FreeAllImages();
-#if defined(TARGET_SDL)
-#if defined(TARGET_SDL2)
// !!! TODO !!!
// set a flag to tell the network server thread to quit and wait for it
// using SDL_WaitThread()
// !!! TODO !!!
// set a flag to tell the network server thread to quit and wait for it
// using SDL_WaitThread()
-#else
- if (network_server) // terminate network server
- SDL_KillThread(server_thread);
-#endif
-#endif
+ //
+ // Code used with SDL 1.2:
+ // if (network_server) // terminate network server
+ // SDL_KillThread(server_thread);
CloseVideoDisplay();
ClosePlatformDependentStuff();
CloseVideoDisplay();
ClosePlatformDependentStuff();