Hopefully fixes the recent +gamedir failures.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3208 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-05-30 23:54:41 +00:00
parent d010181ff7
commit f3970ede24

View file

@ -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;
}
}