make it possible to unset effects for CSQC entities
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 12 Nov 2011 17:15:42 +0000 (17:15 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 12 Nov 2011 17:15:42 +0000 (17:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11548 d7cf8633-e32d-0410-b094-e92efae38249

csprogs.c

index e4d1ed0..47573d3 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -304,6 +304,7 @@ qboolean CSQC_AddRenderEdict(prvm_edict_t *ed, int edictnum)
                entrender->entitynumber = edictnum + MAX_EDICTS;
                //entrender->shadertime = 0; // shadertime was set by spawn()
                entrender->flags = 0;
+               entrender->effects = 0;
                entrender->alpha = 1;
                entrender->scale = 1;
                VectorSet(entrender->colormod, 1, 1, 1);