From b009bbfa2e115145d2b36da89cc58196d6c11bca Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 26 Feb 2004 02:06:11 +0000 Subject: [PATCH] TEU uses teu.rc, not quake.rc git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3929 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/host.c b/host.c index 299ecad6..c1657d10 100644 --- a/host.c +++ b/host.c @@ -879,7 +879,10 @@ void Host_Init (void) } // only cvars are executed when host_initialized == false - Cbuf_InsertText("exec quake.rc\n"); + if (gamemode == GAME_TEU) + Cbuf_InsertText("exec teu.rc\n"); + else + Cbuf_InsertText("exec quake.rc\n"); Cbuf_Execute(); host_initialized = true; @@ -895,7 +898,10 @@ void Host_Init (void) // stuff it again so the first host frame will execute it again, this time // in its entirety - Cbuf_InsertText("exec quake.rc\n"); + if (gamemode == GAME_TEU) + Cbuf_InsertText("exec teu.rc\n"); + else + Cbuf_InsertText("exec quake.rc\n"); Cbuf_Execute(); } -- 2.39.2