]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
100% untested: additionally apply mastervolume to ambient sound channels
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 1b776d7b5e761da4e48191033c170b0496debdc2..cbe96a07f9ba37e6f7e7e5fdcb0eaa8233b83340 100644 (file)
--- a/host.c
+++ b/host.c
@@ -1114,6 +1114,10 @@ static void Host_Init (void)
        // initialize filesystem (including fs_basedir, fs_gamedir, -game, scr_screenshot_name)
        FS_Init();
 
+       // must be after FS_Init
+       Crypto_Init();
+       Crypto_Init_Commands();
+
        NetConn_Init();
        Curl_Init();
        //PR_Init();
@@ -1290,6 +1294,7 @@ void Host_Shutdown(void)
        CL_Shutdown();
        Sys_Shutdown();
        Log_Close();
+       Crypto_Shutdown();
        FS_Shutdown();
        Con_Shutdown();
        Memory_Shutdown();