From 6f435ee41020383a3d4405bb12e87fc6662599f4 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Tue, 13 Nov 2018 01:38:20 -0500 Subject: [PATCH] F_AdvanceToNextPage adjustment --- src/f_finale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/f_finale.c b/src/f_finale.c index e054ef264..83ec80e7c 100644 --- a/src/f_finale.c +++ b/src/f_finale.c @@ -2156,7 +2156,7 @@ static void F_AdvanceToNextPage(void) // determine next page if (nextpage != INT32_MAX) { - if (nextprompt != INT32_MAX) + if (cutnum != INT32_MAX) { scenenum = nextpage; if (scenenum >= MAX_PAGES || scenenum > textprompts[cutnum]->numpages-1)