simpler fix for localskin minimap angle display crash
This commit is contained in:
1 parent
a061d72a8d
commit
fb61c474e8
1 file changed
+1
-4
+1
-4
@@ -3834,11 +3834,8 @@ static void K_drawKartMinimap(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
const INT32 skinnum = R_GetMobjLocalSkinNum(mobj);
|
||||
const skin_t *skin = R_GetSkinArray(mobj->skinlocal)[skinnum];
|
||||
|
||||
// special case if startcolor is not the default (160 / Green)
|
||||
if (skinnum && skin->starttranscolor != skins[0]->starttranscolor)
|
||||
if (R_GetMobjSkin(mobj)->starttranscolor != skins[0]->starttranscolor)
|
||||
{
|
||||
colormap = R_GetTranslationColormap(TC_DEFAULT, mobj->color, GTC_CACHE);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user