mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +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;
|
||||
|
||||
if (!mo2)
|
||||
continue;
|
||||
|
||||
if (mo2->type != MT_ALTVIEWMAN)
|
||||
continue;
|
||||
|
||||
if (mo2)
|
||||
{
|
||||
cameraref = mo2;
|
||||
break;
|
||||
}
|
||||
else
|
||||
break;
|
||||
cameraref = mo2;
|
||||
break;
|
||||
}
|
||||
|
||||
if (cameraref)
|
||||
|
@ -1613,8 +1611,7 @@ void F_TitleScreenTicker(boolean run)
|
|||
else
|
||||
{
|
||||
// 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;
|
||||
camera.angle += titlescrollspeed*ANG1/64;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue