May be this make more sense :)


	if (coreParameter.disableG3Dlog)
	{
		LogManager::GetInstance()->SetEnable(LogTypes::G3D, false);
	}

       coreParameter.disableG3Dlog = g_Config.bDisableG3DLog;