mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix minimap crash if Super Flicky owner spectates
This commit is contained in:
parent
14d6477aad
commit
c3748ff91a
1 changed files with 2 additions and 2 deletions
|
|
@ -4460,9 +4460,9 @@ static void K_drawKartMinimap(void)
|
||||||
break;
|
break;
|
||||||
case MT_SUPER_FLICKY:
|
case MT_SUPER_FLICKY:
|
||||||
workingPic = kp_superflickyminimap;
|
workingPic = kp_superflickyminimap;
|
||||||
if (Obj_SuperFlickyOwner(mobj)->color)
|
if (mobj_t* owner = Obj_SuperFlickyOwner(mobj); owner && owner->color)
|
||||||
{
|
{
|
||||||
colormap = R_GetTranslationColormap(TC_RAINBOW, static_cast<skincolornum_t>(Obj_SuperFlickyOwner(mobj)->color), GTC_CACHE);
|
colormap = R_GetTranslationColormap(TC_RAINBOW, static_cast<skincolornum_t>(owner->color), GTC_CACHE);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue