Fix EmergeThread names in log

Concatenate the thread id as string instead of adding it to the pointer
This commit is contained in:
Kahrl 2013-05-19 19:58:01 +02:00
parent b2253e5b42
commit cc92e45b78

@ -349,7 +349,7 @@ bool EmergeThread::getBlockOrStartGen(v3s16 p, MapBlock **b,
void *EmergeThread::Thread() {
ThreadStarted();
log_register_thread("EmergeThread" + id);
log_register_thread("EmergeThread" + itos(id));
DSTACK(__FUNCTION_NAME);
BEGIN_DEBUG_EXCEPTION_HANDLER