This commit is contained in:
GabsPuNs
2026-04-15 16:59:59 -04:00
parent 6baa0cb537
commit bd811a02fd
35 changed files with 194 additions and 189 deletions

View File

@@ -3707,7 +3707,7 @@ void LevelRenderer::staticCtor()
char threadName[256];
for(unsigned int i = 0; i < MAX_CHUNK_REBUILD_THREADS; ++i)
{
sprintf_s(threadName,"Rebuild Chunk Thread %d\n",i);
sprintf_s(threadName, sizeof(threadName), "Rebuild Chunk Thread %d\n",i);
rebuildThreads[i] = new C4JThread(rebuildChunkThreadProc,(void *)i,threadName);
s_activationEventA[i] = new C4JThread::Event();