src/genworld.cpp
branchcustombridgeheads
changeset 5650 aefc131bf5ce
parent 5649 55c8267c933f
child 5919 2b58160d667d
--- a/src/genworld.cpp	Thu Jan 11 13:41:16 2007 +0000
+++ b/src/genworld.cpp	Mon Jan 15 20:14:06 2007 +0000
@@ -182,7 +182,7 @@
 {
 	if (_gw.thread == NULL) return;
 	_gw.quit_thread = true;
-	OTTDJoinThread(_gw.thread);
+	OTTDJoinThread((OTTDThread*)_gw.thread);
 	_gw.thread   = NULL;
 	_gw.threaded = false;
 }