From 4acb725dec028b067c3e8699736aa6524a94cd45 Mon Sep 17 00:00:00 2001 From: "Anton E. Gavrilov" Date: Wed, 24 May 2000 10:44:29 +0000 Subject: [PATCH] Remove all remaining references to cachedir. --- include/commdef.h | 1 - include/qstructs.h | 1 - source/cl_sys_unix.c | 3 --- source/cl_sys_win.c | 1 - source/sv_sys_win.c | 1 - 5 files changed, 7 deletions(-) diff --git a/include/commdef.h b/include/commdef.h index 688f9af..3abc666 100644 --- a/include/commdef.h +++ b/include/commdef.h @@ -44,7 +44,6 @@ typedef struct { char *basedir; - char *cachedir; /* for development over ISDN lines */ int argc; char **argv; void *membase; diff --git a/include/qstructs.h b/include/qstructs.h index af549df..523787a 100644 --- a/include/qstructs.h +++ b/include/qstructs.h @@ -42,7 +42,6 @@ typedef struct { char *basedir; - char *cachedir; // for development over ISDN lines int argc; char **argv; void *membase; diff --git a/source/cl_sys_unix.c b/source/cl_sys_unix.c index 8ee79bb..8d4e22d 100644 --- a/source/cl_sys_unix.c +++ b/source/cl_sys_unix.c @@ -241,9 +241,6 @@ int main (int c, char **v) parms.basedir = BASEDIR; -// caching is disabled by default, use -cachedir to enable -// parms.cachedir = cachedir; - noconinput = COM_CheckParm("-noconinput"); if (!noconinput) fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY); diff --git a/source/cl_sys_win.c b/source/cl_sys_win.c index 5dde053..947f58e 100644 --- a/source/cl_sys_win.c +++ b/source/cl_sys_win.c @@ -443,7 +443,6 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin cwd[strlen(cwd)-1] = 0; parms.basedir = cwd; - parms.cachedir = NULL; parms.argc = 1; argv[0] = empty_string; diff --git a/source/sv_sys_win.c b/source/sv_sys_win.c index abd8c86..53f9898 100644 --- a/source/sv_sys_win.c +++ b/source/sv_sys_win.c @@ -235,7 +235,6 @@ int main (int argc, char **argv) Sys_Error("Insufficient memory.\n"); parms.basedir = "."; - parms.cachedir = NULL; SV_Init (&parms);