- initialize the index field for particles.

This won't contribute to sort order so it should be the same for all particles, which it wasn't because it was never set.
This commit is contained in:
Christoph Oelckers 2018-12-24 13:44:08 +01:00
parent c58f5095d9
commit a40c617478
1 changed files with 1 additions and 0 deletions

View File

@ -1164,6 +1164,7 @@ void GLSprite::ProcessParticle (HWDrawInfo *di, particle_t *particle, sector_t *
gltexture=nullptr; gltexture=nullptr;
topclip = LARGE_VALUE; topclip = LARGE_VALUE;
bottomclip = -LARGE_VALUE; bottomclip = -LARGE_VALUE;
index = 0;
// [BB] Load the texture for round or smooth particles // [BB] Load the texture for round or smooth particles
if (gl_particles_style) if (gl_particles_style)