From 4b3dff3ef39da2d36717b38a5e9b96478bf95fed Mon Sep 17 00:00:00 2001 From: mazmazz Date: Tue, 13 Nov 2018 02:00:58 -0500 Subject: [PATCH] Tutorial named tag detection adjustment --- src/f_finale.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/f_finale.c b/src/f_finale.c index 83ec80e7c..d96baedec 100644 --- a/src/f_finale.c +++ b/src/f_finale.c @@ -2315,7 +2315,10 @@ static boolean F_GetTextPromptTutorialTag(char *tag, INT32 length) gcs = G_GetControlScheme(gamecontrol, gcl_movement, num_gcl_movement); else if (!strncmp(tag, "TAC", 3)) // Camera { - gcs = G_GetControlScheme(gamecontrol, gcl_camera, num_gcl_camera); + // Check for gcl_movement so we can differentiate between FPS and Platform schemes. + gcs = G_GetControlScheme(gamecontrol, gcl_movement, num_gcl_movement); + if (gcs == gcs_custom) // try again, maybe we'll get a match + gcs = G_GetControlScheme(gamecontrol, gcl_camera, num_gcl_camera); if (gcs == gcs_fps && !cv_usemouse.value) gcs = gcs_platform; // Platform (arrow) scheme is stand-in for no mouse }