if( MaxToTake < 0 ) {
Log_Warning("Threads", "Semaphore_Wait: User bug - MaxToTake(%i) < 0, Sem=%p(%s)",
MaxToTake, Sem, Sem->Name);
if( MaxToTake < 0 ) {
Log_Warning("Threads", "Semaphore_Wait: User bug - MaxToTake(%i) < 0, Sem=%p(%s)",
MaxToTake, Sem, Sem->Name);