From bb696fef79b956b09b2f6766e7c87ac364ecceae Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 8 May 2011 22:28:44 +0000 Subject: [PATCH] mac builds now detect if the gamedir exists in the .app/Contents/Resources/ folder git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11137 d7cf8633-e32d-0410-b094-e92efae38249 --- fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs.c b/fs.c index da708289..ec93c091 100644 --- a/fs.c +++ b/fs.c @@ -1939,7 +1939,7 @@ void FS_Init (void) // truncate to just after the .app/ split[5] = 0; // see if gamedir exists in Resources - if (stat(va("%s/Contents/Resources/%s", fs_basedir, gamedirname1)), &statresult) == 0) + if (stat(va("%s/Contents/Resources/%s", fs_basedir, gamedirname1), &statresult) == 0) { // found gamedir inside Resources, use it strlcat(fs_basedir, "Contents/Resources/", sizeof(fs_basedir)); -- 2.39.2