forked from mirror/OpenTTD
(svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation.
This commit is contained in:
@@ -300,7 +300,7 @@ void GenerateWorld(GenerateWorldMode mode, uint size_x, uint size_y)
|
||||
}
|
||||
|
||||
if (BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth() == 0 ||
|
||||
(_gw.thread = ThreadObject::New(&_GenerateWorld, NULL)) == NULL) {
|
||||
!ThreadObject::New(&_GenerateWorld, NULL, &_gw.thread)) {
|
||||
DEBUG(misc, 1, "Cannot create genworld thread, reverting to single-threaded mode");
|
||||
_gw.threaded = false;
|
||||
_GenerateWorld(NULL);
|
||||
|
Reference in New Issue
Block a user