From cf454dd6fcb17b3c30729888019aca2e8c7d7f84 Mon Sep 17 00:00:00 2001 From: yellowtd Date: Thu, 20 Apr 2017 19:18:07 -0400 Subject: [PATCH] titlemap - Fix impending doom (???) camera mobj search the last implimentation would have apparently stopped working eventually? Idk --- src/f_finale.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/f_finale.c b/src/f_finale.c index efc87e040..e3a6e9164 100644 --- a/src/f_finale.c +++ b/src/f_finale.c @@ -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; } }