From f3970ede245498b373a819b02924b0886cbbfaac Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 30 May 2009 23:54:41 +0000 Subject: [PATCH] Hopefully fixes the recent +gamedir failures. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3208 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/fs.c b/engine/common/fs.c index f86262cb6..414d2599a 100644 --- a/engine/common/fs.c +++ b/engine/common/fs.c @@ -1659,7 +1659,7 @@ void COM_Gamedir (const char *dir) { if (*(p+plen-dlen-1) == '/') { - if (strcmp(p+plen-dlen, dir)) + if (!strcmp(p+plen-dlen, dir)) return; } }