From: divverent Date: Sat, 12 Nov 2011 17:15:42 +0000 (+0000) Subject: make it possible to unset effects for CSQC entities X-Git-Tag: xonotic-v0.6.0~163^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4362a40495ddb2551c887e0d9746481972385590;p=xonotic%2Fdarkplaces.git make it possible to unset effects for CSQC entities git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11548 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/csprogs.c b/csprogs.c index e4d1ed09..47573d3c 100644 --- 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);