From: eihrul Date: Mon, 5 Oct 2009 10:45:29 +0000 (+0000) Subject: if(foo = false) -> if(foo == false) bug fix X-Git-Tag: xonotic-v0.1.0preview~1325 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=efa8fdf7b74ec92d00d9a2da91547e28f376570c if(foo = false) -> if(foo == false) bug fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9309 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/clvm_cmds.c b/clvm_cmds.c index 077b926d..fb1b1654 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -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]);