mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't allow model rendering on Ring Shooter face overlay
This commit is contained in:
parent
a4c6b3a077
commit
626d39870b
1 changed files with 4 additions and 0 deletions
|
|
@ -1189,6 +1189,10 @@ static boolean HWR_AllowModel(mobj_t *mobj)
|
|||
if (mobj->state-states == S_KART_SIGN)
|
||||
return false;
|
||||
|
||||
// Ring Shooter face overlay, don't allow.
|
||||
if (mobj->sprite2 == SPR2_XTRA)
|
||||
return false;
|
||||
|
||||
// Otherwise, render the model.
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue