Zero stuff done flags in the constructor

Thanks to @fosnola for spotting this
This commit is contained in:
2023-01-21 11:10:01 -05:00
parent 641bef9f80
commit 5c6e34b5de

View File

@@ -37,6 +37,7 @@ cParty::cParty(ePartyPreset party_preset) {
out_loc.y = 84;
in_boat = -1;
in_horse = -1;
memset(stuff_done, 0, sizeof(stuff_done));
std::fill(magic_ptrs.begin(), magic_ptrs.end(), 0);
for(int i = 0; i < 10; i++)
out_c[i].exists = false;