changeset 10861 | 7954a0043e05 |
parent 10860 | ae89867701fe |
child 10866 | 242436c016b8 |
--- a/src/genworld.cpp Sun Jun 08 10:51:36 2008 +0000 +++ b/src/genworld.cpp Sun Jun 08 12:06:27 2008 +0000 @@ -288,7 +288,7 @@ SetupColorsAndInitialWindow(); if (_network_dedicated || - (_gw.thread = ThreadObject::New(&_GenerateWorld, NULL)) == NULL) { + (_gw.thread = ThreadObject::New(&_GenerateWorld, NULL, &ThreadObject::TerminateCleanup)) == NULL) { DEBUG(misc, 1, "Cannot create genworld thread, reverting to single-threaded mode"); _gw.threaded = false; _GenerateWorld(NULL);