allow -notitles to work in shareware [and non-RELEASE] version too. (d1x r1.35)

This commit is contained in:
Bradley Bell 2005-02-25 07:19:33 +00:00
parent 47a6ae0f6f
commit c8d6804c5b
2 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2005-02-24 Tim Massey <tmassey@obscorp.com>
* main/inferno.c: allow -notitles to work in shareware [and
non-RELEASE] version too. (d1x r1.35)
2005-02-24 Peter Hawkins <peterh@isa.net.au> 2005-02-24 Peter Hawkins <peterh@isa.net.au>
* arch/linux/alsadigi.c: update to alsa 1.0 API. (d1x r1.3) * arch/linux/alsadigi.c: update to alsa 1.0 API. (d1x r1.3)

View file

@ -1,4 +1,4 @@
/* $Id: inferno.c,v 1.97 2005-02-25 05:20:36 chris Exp $ */ /* $Id: inferno.c,v 1.98 2005-02-25 07:19:33 btb Exp $ */
/* /*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
@ -809,12 +809,10 @@ int main(int argc, char *argv[])
#endif #endif
#endif #endif
#ifndef RELEASE
if ( FindArg( "-notitles" ) ) if ( FindArg( "-notitles" ) )
songs_play_song( SONG_TITLE, 1); songs_play_song( SONG_TITLE, 1);
else else
#endif {
{ //NOTE LINK TO ABOVE!
#ifndef SHAREWARE #ifndef SHAREWARE
int played=MOVIE_NOT_PLAYED; //default is not played int played=MOVIE_NOT_PLAYED; //default is not played
#endif #endif
@ -1152,9 +1150,7 @@ int main(int argc, char *argv[])
WriteConfigFile(); WriteConfigFile();
#ifndef RELEASE
if (!FindArg( "-notitles" )) if (!FindArg( "-notitles" ))
#endif
show_order_form(); show_order_form();
#ifndef NDEBUG #ifndef NDEBUG