/[enigma]/enigma/src/main.cc
ViewVC logotype

Diff of /enigma/src/main.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mhawlisch, Thu Feb 27 09:57:09 2003 UTC revision 1.7 by dheck, Fri Feb 28 16:05:39 2003 UTC
# Line 193  init_soundset (const string &soundset) Line 193  init_soundset (const string &soundset)
193  static void  static void
194  init()  init()
195  {  {
196        enigma::Log.rdbuf(new Nulbuf);
197    
198      lua::Init();      lua::Init();
199    
200      // Run initialization scripts      // Run initialization scripts
# Line 229  init() Line 231  init()
231              enigma::Log.rdbuf(logfile.rdbuf());              enigma::Log.rdbuf(logfile.rdbuf());
232          else          else
233              fprintf(stderr,"Could not open log file \"enigma.log\" for writing.\n");              fprintf(stderr,"Could not open log file \"enigma.log\" for writing.\n");
234      } else      }
         enigma::Log.rdbuf(new Nulbuf);  
235    
236      int sdl_flags = SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE;      int sdl_flags = SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE;
237      if (!ap.nosound)      if (!ap.nosound)

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26