From 56ac383268342a9ea05bf010ec950dce167279a6 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 30 Oct 2000 00:05:21 +0000 Subject: [PATCH] server now starts without segging and fix a compile error in tga.c --- source/sv_main.c | 2 ++ source/tga.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/source/sv_main.c b/source/sv_main.c index be0155a..b70779b 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -1887,6 +1887,8 @@ void SV_Init (quakeparms_t *parms) // execute sets again after the config file has been parsed .. Cbuf_Execute_Sets (); + COM_Filesystem_Init_Cvars (); + // and now reprocess the cmdline's sets for overrides Cmd_StuffCmds_f (); Cbuf_Execute_Sets (); diff --git a/source/tga.c b/source/tga.c index 6eb957e..27255e3 100644 --- a/source/tga.c +++ b/source/tga.c @@ -53,7 +53,7 @@ fgetLittleShort (QFile *f) return (short)(b1 + b2*256); } - +/* static int fgetLittleLong (QFile *f) { @@ -66,6 +66,7 @@ fgetLittleLong (QFile *f) return b1 + (b2<<8) + (b3<<16) + (b4<<24); } +*/ /*