mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'ogl-ringshooter-face-sprite' into 'master'
Don't allow model rendering on Ring Shooter face overlay Closes #960 See merge request KartKrew/Kart!1865
This commit is contained in:
commit
66ec978334
1 changed files with 2 additions and 2 deletions
|
|
@ -1185,8 +1185,8 @@ static void HWR_GetBlendedTexture(patch_t *patch, patch_t *blendpatch, INT32 ski
|
|||
|
||||
static boolean HWR_AllowModel(mobj_t *mobj)
|
||||
{
|
||||
// Signpost overlay. Not needed.
|
||||
if (mobj->state-states == S_KART_SIGN)
|
||||
// Don't allow rendering of model for these.
|
||||
if (mobj->sprite2 == SPR2_XTRA || mobj->sprite2 == SPR2_SIGN || mobj->sprite2 == SPR2_SIGL || mobj->sprite2 == SPR2_TALK)
|
||||
return false;
|
||||
|
||||
// Otherwise, render the model.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue