From efa8fdf7b74ec92d00d9a2da91547e28f376570c Mon Sep 17 00:00:00 2001 From: eihrul Date: Mon, 5 Oct 2009 10:45:29 +0000 Subject: [PATCH] if(foo = false) -> if(foo == false) bug fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9309 d7cf8633-e32d-0410-b094-e92efae38249 --- clvm_cmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]); -- 2.39.2