Spike is ordering me to break things again.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3121 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2009-02-08 14:31:11 +00:00
parent 40742dcc55
commit c3e186ef7a
3 changed files with 3 additions and 2 deletions

View file

@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "quakedef.h" #include "quakedef.h"
#include "d_local.h" #include "d_local.h"
#include "r_local.h"
vec3_t r_pright, r_pup, r_ppn; vec3_t r_pright, r_pup, r_ppn;

View file

@ -316,7 +316,7 @@ void SWR_NetGraph (void);
qbyte *SWMod_LeafPVS (model_t *model, mleaf_t *leaf, qbyte *buffer); qbyte *SWMod_LeafPVS (model_t *model, mleaf_t *leaf, qbyte *buffer);
void D_DrawSparkTrans (struct particle_s *pparticle, vec3_t src, vec3_t dest, int blendmode); void D_DrawSparkTrans (vec3_t src, vec3_t dest, float palpha, unsigned int pcolour, blendmode_t blendmode);
void D_Shutdown (void); void D_Shutdown (void);

View file

@ -688,7 +688,7 @@ void SWR_DrawBeam(entity_t *e)
for (; len>=0; len--) for (; len>=0; len--)
{ {
VectorAdd(o1, dir, o2); VectorAdd(o1, dir, o2);
D_DrawSparkTrans (o1, o2, 1, 0); D_DrawSparkTrans (o1, o2, 1, 0, BM_BLEND);
VectorCopy(o2, o1); VectorCopy(o2, o1);
} }
} }