Fix compiler warning

This commit is contained in:
Ashnal 2022-09-10 13:30:24 -04:00
parent 59fb3ed900
commit 3d311eeae3

View file

@ -2167,10 +2167,12 @@ static void LoadMobjThinker(actionf_p1 thinker)
}
if (mobj->type == MT_SKYBOX)
{
if (mobj->spawnpoint->options & MTF_OBJECTSPECIAL)
skyboxmo[1] = mobj;
else
skyboxmo[0] = mobj;
}
P_AddThinker(&mobj->thinker);