X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=cl_particles.c;h=3dba711fdb0d9e5d3356c625c6fc4591ed0ad67a;hp=d93069f8d3df9c75a0aca1389ad904e90c9d61a7;hb=0e38741a94d0a28e659fb3a87eaa7c9464f5cb8d;hpb=66bb29b421a2e9f9146519a21ea969f3970aaee5 diff --git a/cl_particles.c b/cl_particles.c index d93069f8..3dba711f 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -1493,7 +1493,7 @@ void CL_MoveParticles (void) break; case pt_decal: // FIXME: this has fairly wacky handling of alpha - p->alphafade = cl.time > (p->time2 + cl_decals_time.value) ? (p->alpha / cl_decals_fadetime.value) : 0; + p->alphafade = cl.time > (p->time2 + cl_decals_time.value) ? (255 / cl_decals_fadetime.value) : 0; #ifndef WORKINGLQUAKE if (p->owner->model == p->ownermodel) { @@ -2037,7 +2037,7 @@ void R_DrawParticleCallback(const void *calldata1, int calldata2) glTexCoord2f(particle_texcoord2f[6], particle_texcoord2f[7]);glVertex3f(particle_vertex3f[ 9], particle_vertex3f[10], particle_vertex3f[11]); glEnd(); #else - R_Mesh_Draw(4, 2, polygonelements); + R_Mesh_Draw(0, 4, 2, polygonelements); #endif }