fixed zipios support to honor path to data given on command-line

This commit is contained in:
Yann Dirson 2005-01-27 22:19:25 +00:00
parent 97b4eb166b
commit ace9950760
2 changed files with 5 additions and 5 deletions

View file

@ -5,6 +5,7 @@ CVS HEAD:
* updated manpages
* language fixes and polishing (English)
* fixed editor to work with zipios support enabled
* fixed zipios support to honor path to data given on command-line
* new cmd line option --fps to display frames/second refresh in game
* fixed bugs when replacing player with observer in mp
* code cleanups

View file

@ -1473,16 +1473,15 @@ int play_game(int argc, char** argv)
}
}
srand(time(NULL));
game_controller game(argc,argv,use_sound);
if (!filesystem_init()) {
std::cerr << "cannot init filesystem code\n";
return 1;
}
srand(time(NULL));
game_controller game(argc,argv,use_sound);
// I would prefer to setup locale first so that early error
// messages can get localized, but we need the game_controller
// initialized to have get_intl_dir() to work. Note: this