]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
if(foo = false) -> if(foo == false) bug fix
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 5 Oct 2009 10:45:29 +0000 (10:45 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 5 Oct 2009 10:45:29 +0000 (10:45 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9309 d7cf8633-e32d-0410-b094-e92efae38249

clvm_cmds.c

index 077b926de076289a75e302807b15ab0e71a87bf7..fb1b16540c91c71ceb759e373945b49f3c841de7 100644 (file)
@@ -2716,7 +2716,7 @@ void VM_CL_ParticleTheme (void)
                VM_CL_ParticleThemeToGlobals(&vmpartspawner.themes[0]);
                return;
        }
-       if (vmpartspawner.themes[themenum].initialized = false)
+       if (vmpartspawner.themes[themenum].initialized == false)
        {
                VM_Warning("VM_CL_ParticleTheme: theme #%i not exists\n", themenum);
                VM_CL_ParticleThemeToGlobals(&vmpartspawner.themes[0]);
@@ -2787,7 +2787,7 @@ void VM_CL_ParticleThemeFree (void)
                VM_Warning("VM_CL_ParticleThemeFree: bad theme number %i\n", themenum);
                return;
        }
-       if (vmpartspawner.themes[themenum].initialized = false)
+       if (vmpartspawner.themes[themenum].initialized == false)
        {
                VM_Warning("VM_CL_ParticleThemeFree: theme #%i already freed\n", themenum);
                VM_CL_ParticleThemeToGlobals(&vmpartspawner.themes[0]);