From ff8376d625fa7d6e9f72f6aa49c76e0b18accc90 Mon Sep 17 00:00:00 2001 From: "Marco Antonio J. Costa" Date: Thu, 9 Jan 2025 20:15:37 -0300 Subject: [PATCH] Keep UB specific enum value for all builds but at the end, not beginning as to not make a mess along with an intro.lua change in gamedir/Data-UB/Scripts this gets rid of a nasty preprocessor conditional in a header file --- Ja2/Intro.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Ja2/Intro.h b/Ja2/Intro.h index 77048105..da50d8bf 100644 --- a/Ja2/Intro.h +++ b/Ja2/Intro.h @@ -12,13 +12,11 @@ void StopIntroVideo(); //enums used for when the intro screen can come up, used with 'gbIntroScreenMode' enum EIntroType { -#ifdef JA2UB - INTRO_HELI_CRASH, -#endif INTRO_BEGINNING, //set when viewing the intro at the begining of the game INTRO_ENDING, //set when viewing the end game video. - INTRO_SPLASH, + // Unfinished Business + INTRO_HELI_CRASH };