Fix registered/shareware detection.
[xonotic/darkplaces.git] / fs.c
diff --git a/fs.c b/fs.c
index f37fecd..5db5955 100644 (file)
--- 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)