add extra check to save a little bit of time
This commit is contained in:
1 parent
380c8f65c8
commit
8c43857bd3
1 file changed
+1
-1
+1
-1
@@ -10134,7 +10134,7 @@ static void K_drawKartMinimapHead(mobj_t *mo, INT32 x, INT32 y, INT32 flags)
|
||||
}
|
||||
|
||||
#ifdef ROTSPRITE
|
||||
if (cv_spinoutroll.value && mo->player)
|
||||
if (cv_spinoutroll.value && mo->player && mo->player->spinoutrot)
|
||||
{
|
||||
// Rotate counterclockwise.
|
||||
rollangle = FixedAngle(mo->player->spinoutrot * -1);
|
||||
|
||||
Reference in new issue
Block a user