From d7ed34c18e0b6c5139faf743b613a473d419ea27 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 18 Feb 2010 06:10:03 +0000 Subject: [PATCH] fix a couple enum mixed with int warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9981 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_particles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_particles.c b/cl_particles.c index 61510572..5b1e78cd 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -2437,7 +2437,7 @@ void R_DrawParticle_TransparentCallback(const entity_render_t *ent, const rtligh { p = cl.particles + surfacelist[surfacelistindex]; - blendmode = p->blendmode; + blendmode = (pblend_t)p->blendmode; switch (blendmode) { @@ -2596,7 +2596,7 @@ void R_DrawParticle_TransparentCallback(const entity_render_t *ent, const rtligh if (blendmode != p->blendmode) { - blendmode = p->blendmode; + blendmode = (pblend_t)p->blendmode; switch(blendmode) { case PBLEND_ALPHA: -- 2.39.2