From: divverent Date: Sat, 7 Feb 2015 21:14:56 +0000 (+0000) Subject: Fix registered/shareware detection. X-Git-Tag: xonotic-v0.8.1~29^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8b02b061c1b8af09a7062d13cdd0540fc3ef5fc6;p=xonotic%2Fdarkplaces.git Fix registered/shareware detection. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12156 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.c b/fs.c index f37fecd5..5db59551 100644 --- a/fs.c +++ b/fs.c @@ -3824,7 +3824,7 @@ qboolean FS_IsRegisteredQuakePack(const char *name) int diff; middle = (left + right) / 2; - diff = !strcmp_funct (pak->files[middle].name, "gfx/pop.lmp"); + diff = strcmp_funct (pak->files[middle].name, "gfx/pop.lmp"); // Found it if (!diff)