Fix possible crash on exiting scenario

(thanks to Ir the Great for this patch)
This commit is contained in:
2017-12-16 16:37:59 -05:00
parent 513d926032
commit b0d2ca8e23

View File

@@ -44,6 +44,8 @@ cParty::cParty(long party_preset) {
out_c[i].exists = false;
for(int i = 0; i < 6; i++)
adven[i] = new cPlayer(*this, party_preset, i);
for(auto& monst : imprisoned_monst)
monst = 0;
}
cParty::~cParty() {