Fix a plethora of bugs and crashes when loading new savegames; loading now works, though with a few glitches still

This commit is contained in:
2014-04-20 17:43:16 -04:00
parent 3a0f1ad7f5
commit 4cf1c5a8f6
16 changed files with 75 additions and 62 deletions

View File

@@ -473,7 +473,6 @@ void put_party_in_scen(std::string scen_name)
univ.party.party_event_timers.clear();
fs::path path;
//std::cout << progDir;
path = progDir/"Blades of Exile Scenarios";
path /= scen_name;
std::cout<<"Searching for scenario at:\n"<<path<<'\n';
@@ -481,7 +480,7 @@ void put_party_in_scen(std::string scen_name)
return;
init_party_scen_data();
univ.party.scen_name = scen_name;
// if at this point, startup must be over, so make this call to make sure we're ready,
// graphics wise