]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 e4d1ed09c065124cdfc9f4d2f4a4da5c0c1354a5..47573d3cf8cc446661775e2d4d0cb6d4238f8eb7 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);