equal
deleted
inserted
replaced
543 // Play main theme |
543 // Play main theme |
544 if (_music_driver->is_song_playing()) ResetMusic(); |
544 if (_music_driver->is_song_playing()) ResetMusic(); |
545 } |
545 } |
546 |
546 |
547 extern void DedicatedFork(void); |
547 extern void DedicatedFork(void); |
|
548 extern void CheckExternalFiles(); |
548 |
549 |
549 int ttd_main(int argc, char* argv[]) |
550 int ttd_main(int argc, char* argv[]) |
550 { |
551 { |
551 MyGetOptData mgo; |
552 MyGetOptData mgo; |
552 int i; |
553 int i; |
636 return 0; |
637 return 0; |
637 } |
638 } |
638 } |
639 } |
639 |
640 |
640 DeterminePaths(); |
641 DeterminePaths(); |
|
642 CheckExternalFiles(); |
641 |
643 |
642 #ifdef UNIX |
644 #ifdef UNIX |
643 // We must fork here, or we'll end up without some resources we need (like sockets) |
645 // We must fork here, or we'll end up without some resources we need (like sockets) |
644 if (_dedicated_forks) |
646 if (_dedicated_forks) |
645 DedicatedFork(); |
647 DedicatedFork(); |