summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/quake/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/progs/quake/common.c')
-rw-r--r--apps/plugins/sdl/progs/quake/common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/plugins/sdl/progs/quake/common.c b/apps/plugins/sdl/progs/quake/common.c
index 5191af8c36..881c01e22e 100644
--- a/apps/plugins/sdl/progs/quake/common.c
+++ b/apps/plugins/sdl/progs/quake/common.c
@@ -1508,14 +1508,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
1508 strcpy (cachepath, netpath); 1508 strcpy (cachepath, netpath);
1509 else 1509 else
1510 { 1510 {
1511#if defined(_WIN32)
1512 if ((strlen(netpath) < 2) || (netpath[1] != ':'))
1513 sprintf (cachepath,"%s%s", com_cachedir, netpath);
1514 else
1515 sprintf (cachepath,"%s%s", com_cachedir, netpath+2);
1516#else
1517 sprintf (cachepath,"%s/%s", com_cachedir, netpath); 1511 sprintf (cachepath,"%s/%s", com_cachedir, netpath);
1518#endif
1519 1512
1520 cachetime = Sys_FileTime (cachepath); 1513 cachetime = Sys_FileTime (cachepath);
1521 1514