@@ -17,7 +17,7 @@ void* OTTDJoinThread(Thread*) { return N
struct Thread {
TID thread;
ThradFunc func;
ThreadFunc func;
void* arg;
void* ret;
};
@@ -98,7 +98,7 @@ void* OTTDJoinThread(Thread* t)
HANDLE thread;
@@ -119,7 +119,7 @@ Thread* OTTDCreateThread(ThreadFunc func
t->func = function;
t->arg = arg;
t->thread = CreateThread(NULL, 0, Proxy, arg, 0, &dwThreadId);
t->thread = CreateThread(NULL, 0, Proxy, t, 0, &dwThreadId);
if (t->thread != NULL) {
return t;
Status change: