From 4d432e7cc974912214a4ad8e8bad77b771d46dd4 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Fri, 4 Sep 2009 21:17:07 +0200 Subject: [PATCH] wtf --- host.c | 4 +++- uim.c | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/host.c b/host.c index 27e4cdbb..538a908c 100644 --- a/host.c +++ b/host.c @@ -966,6 +966,7 @@ extern void Render_Init(void); extern void Mathlib_Init(void); extern void FS_Init(void); extern void UIM_Init(void); +extern void UIM_Start(void); extern void FS_Shutdown(void); extern void UIM_Shutdown(void); extern void PR_Cmd_Init(void); @@ -1077,6 +1078,7 @@ static void Host_Init (void) S_Init(); CDAudio_Init(); Key_Init(); + UIM_Init(); V_Init(); CL_Init(); } @@ -1103,7 +1105,7 @@ static void Host_Init (void) if (cls.state != ca_dedicated) { // this uses saved cvars - UIM_Init(); + //UIM_Start(); } // put up the loading image so the user doesn't stare at a black screen... diff --git a/uim.c b/uim.c index 84bfb2ca..9108793f 100644 --- a/uim.c +++ b/uim.c @@ -214,7 +214,7 @@ UIM_Init Load UIM support and register commands / cvars ==================== */ -static void UIM_Start(void); +void UIM_Start(void); static void UIM_InitConverter(void); void UIM_Init(void) { @@ -238,8 +238,8 @@ void UIM_Init(void) static void UIM_Restart_f(void) { - UIM_Shutdown(); - UIM_Start(); + //UIM_Shutdown(); + //UIM_Start(); } static struct uim_code_converter *dp_converter; @@ -285,7 +285,7 @@ UIM_Start Try starting up UIM, this should be made available as console command maybe? ==================== */ -static void UIM_Start(void) +void UIM_Start(void) { if (!UIM_OpenLibrary()) return; -- 2.39.2