]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/sounds/sound.qh
Measure startup time
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / sounds / sound.qh
index b915062223918a81a7c0c8b90be3ac297054eca1..519f910b0d3fee4721a698c549a59316841d658b 100644 (file)
@@ -126,7 +126,7 @@ CLASS(Sound, Object)
            TC(Sound, this);
                string s = Sound_fixpath(this);
                if (!s) return;
-               LOG_DEBUGF("precache_sound(\"%s\")\n", s);
+               profile(sprintf("precache_sound(\"%s\")\n", s));
                precache_sound(s);
        }
 ENDCLASS(Sound)