Skip to content

Instantly share code, notes, and snippets.

@xycaleth
Created July 24, 2019 22:10
Show Gist options
  • Save xycaleth/58dd14c4e2ee3da899832969d8c3e867 to your computer and use it in GitHub Desktop.
Save xycaleth/58dd14c4e2ee3da899832969d8c3e867 to your computer and use it in GitHub Desktop.
sound fix??
diff --git a/code/client/cl_main.cpp b/code/client/cl_main.cpp
index e8f3d3f2..d473ca3a 100644
--- a/code/client/cl_main.cpp
+++ b/code/client/cl_main.cpp
@@ -1316,8 +1316,6 @@ void CL_Init( void ) {
CL_InitRef();
- CL_StartHunkUsers();
-
SCR_Init ();
Cbuf_Execute ();
diff --git a/code/qcommon/common.cpp b/code/qcommon/common.cpp
index 7fe6adcb..d3fe6ffc 100644
--- a/code/qcommon/common.cpp
+++ b/code/qcommon/common.cpp
@@ -1160,6 +1160,10 @@ void Com_Init( char *commandLine ) {
Cbuf_AddText ("cinematic openinglogos\n");
}
}
+
+ void CL_StartHunkUsers( void );
+ CL_StartHunkUsers();
+
com_fullyInitialized = qtrue;
Com_Printf ("--- Common Initialization Complete ---\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment