add extra check to save a little bit of time
This commit is contained in:
1 parent
080ae52bce
commit
9dc14bda3a
1 file changed
+1
-1
+1
-1
@@ -10452,7 +10452,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