mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +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)
|
if (mobj->state-states == S_KART_SIGN)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// Ring Shooter face overlay, don't allow.
|
||||||
|
if (mobj->sprite2 == SPR2_XTRA)
|
||||||
|
return false;
|
||||||
|
|
||||||
// Otherwise, render the model.
|
// Otherwise, render the model.
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue