mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- added a new option in ja2.ini (PLAY_INTRO) + source code where the user can enable or disable the intro.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1791 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -184,13 +184,20 @@ BOOLEAN EnterIntroScreen()
|
||||
// Don't play music....
|
||||
SetMusicMode( MUSIC_NONE );
|
||||
|
||||
#ifdef JA2BETAVERSION
|
||||
if( FileExists( "..\\NoIntro.txt" ) )
|
||||
// WANNE: No we have an INI option for the choise if the intro should be played
|
||||
if (!iPlayIntro)
|
||||
{
|
||||
PrepareToExitIntroScreen();
|
||||
return( TRUE );
|
||||
}
|
||||
#endif
|
||||
|
||||
//#ifdef JA2BETAVERSION
|
||||
// if( FileExists( "..\\NoIntro.txt" ) )
|
||||
// {
|
||||
// PrepareToExitIntroScreen();
|
||||
// return( TRUE );
|
||||
// }
|
||||
//#endif
|
||||
|
||||
//if the library doesnt exist, exit
|
||||
if( !IsLibraryOpened( LIBRARY_INTRO ) )
|
||||
|
||||
Reference in New Issue
Block a user