]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - clvm_cmds.c
replaced host_sleep with cl_maxfps_alwayssleep cvar (requires cl_maxfps)
[xonotic/darkplaces.git] / 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]);