mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
titlemap - Fix impending doom (???) camera mobj search
the last implimentation would have apparently stopped working eventually? Idk
This commit is contained in:
parent
f70b89b22a
commit
cf454dd6fc
1 changed files with 6 additions and 9 deletions
|
|
@ -1590,16 +1590,14 @@ void F_TitleScreenTicker(boolean run)
|
||||||
|
|
||||||
mo2 = (mobj_t *)th;
|
mo2 = (mobj_t *)th;
|
||||||
|
|
||||||
|
if (!mo2)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (mo2->type != MT_ALTVIEWMAN)
|
if (mo2->type != MT_ALTVIEWMAN)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (mo2)
|
cameraref = mo2;
|
||||||
{
|
break;
|
||||||
cameraref = mo2;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cameraref)
|
if (cameraref)
|
||||||
|
|
@ -1613,8 +1611,7 @@ void F_TitleScreenTicker(boolean run)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Default behavior: Do a lil' camera spin if a title map is loaded;
|
// Default behavior: Do a lil' camera spin if a title map is loaded;
|
||||||
// TODO: titlescrollspeed scrolls slow here because it is not an angle
|
camera.angle += titlescrollspeed*ANG1/64;
|
||||||
//camera.angle += titlescrollspeed;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue