Fix possible crash on exiting scenario
(thanks to Ir the Great for this patch)
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user