From ebee21157c7a96bf6eab52bb56a385aad5b23bfd Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 11 Feb 2013 18:02:40 -0600 Subject: [PATCH] Change pk3dir README / comments to fit in better --- README | 4 ++-- code/qcommon/files.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README b/README index be0b0e38..5aa99811 100644 --- a/README +++ b/README @@ -497,8 +497,8 @@ QuakeLive mouse acceleration (patch and this text written by TTimo from id) ---------------------------------------------------- README for Developers ----- pk3dir - Ioquake3 has a useful new feature for mappers. Paths in a game directory with - the extension ".pk3dir" are treated like pak files. This means you can keep + ioquake3 has a useful new feature for mappers. Paths in a game directory with + the extension ".pk3dir" are treated like pk3 files. This means you can keep all files specific to your map in one directory tree and easily zip this folder for distribution. diff --git a/code/qcommon/files.c b/code/qcommon/files.c index f3d5c3b0..d970fc98 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -2926,8 +2926,8 @@ void FS_AddGameDirectory( const char *path, const char *dir ) { search = Z_Malloc(sizeof(searchpath_t)); search->dir = Z_Malloc(sizeof(*search->dir)); - Q_strncpyz(search->dir->path, curpath, sizeof(search->dir->path)); // c:\xreal\base - Q_strncpyz(search->dir->fullpath, pakfile, sizeof(search->dir->fullpath)); // c:\xreal\base\mypak.pk3dir + Q_strncpyz(search->dir->path, curpath, sizeof(search->dir->path)); // c:\quake3\baseq3 + Q_strncpyz(search->dir->fullpath, pakfile, sizeof(search->dir->fullpath)); // c:\quake3\baseq3\mypak.pk3dir Q_strncpyz(search->dir->gamedir, pakdirs[pakdirsi], sizeof(search->dir->gamedir)); // mypak.pk3dir search->next = fs_searchpaths;