From 5c6e34b5de99aa65d10ec017ba1aa6edb90755a0 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sat, 21 Jan 2023 11:10:01 -0500 Subject: [PATCH] Zero stuff done flags in the constructor Thanks to @fosnola for spotting this --- src/universe/party.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/universe/party.cpp b/src/universe/party.cpp index 358287e5..7de68820 100644 --- a/src/universe/party.cpp +++ b/src/universe/party.cpp @@ -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;