mirror of
https://github.com/nzp-team/quakespasm.git
synced 2025-04-24 09:43:22 +00:00
VITA/NX: Prevent muzzleflash from clipping with world
This commit is contained in:
parent
3ea40400e9
commit
2ecd4c5e04
1 changed files with 5 additions and 0 deletions
|
@ -2132,9 +2132,14 @@ void QMB_DrawParticles (void)
|
|||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (pt->texture == ptex_muzzleflash || pt->texture == ptex_muzzleflash2 || pt->texture == ptex_muzzleflash3)
|
||||
glDepthRange (0, 0.3);
|
||||
|
||||
DRAW_PARTICLE_BILLBOARD(ptex, p, billboard);
|
||||
|
||||
if (pt->texture == ptex_muzzleflash || pt->texture == ptex_muzzleflash2 || pt->texture == ptex_muzzleflash3)
|
||||
glDepthRange (0, 1);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue