force a refresh of the zipios collection after downloading a campaign

This commit is contained in:
Yann Dirson 2005-02-20 00:32:38 +00:00
parent a803ed2bf9
commit a2febe3d22

View file

@ -1168,6 +1168,12 @@ void game_controller::download_campaigns()
unarchive_campaign(cfg);
// when using zipios, force a reread zip and directory indices
if (!filesystem_init()) {
gui::show_error_message(disp(), _("Cannot rescan the filesystem"));
return;
}
//force a reload of configuration information
const bool old_cache = use_caching_;
use_caching_ = false;