mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 19:50:51 +00:00
Fix compiler warning
This commit is contained in:
parent
59fb3ed900
commit
3d311eeae3
1 changed files with 2 additions and 0 deletions
|
@ -2167,10 +2167,12 @@ static void LoadMobjThinker(actionf_p1 thinker)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mobj->type == MT_SKYBOX)
|
if (mobj->type == MT_SKYBOX)
|
||||||
|
{
|
||||||
if (mobj->spawnpoint->options & MTF_OBJECTSPECIAL)
|
if (mobj->spawnpoint->options & MTF_OBJECTSPECIAL)
|
||||||
skyboxmo[1] = mobj;
|
skyboxmo[1] = mobj;
|
||||||
else
|
else
|
||||||
skyboxmo[0] = mobj;
|
skyboxmo[0] = mobj;
|
||||||
|
}
|
||||||
|
|
||||||
P_AddThinker(&mobj->thinker);
|
P_AddThinker(&mobj->thinker);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue