don't recreate random state for sequential ep3 battles

This commit is contained in:
Martin Michelsen
2023-06-10 09:53:54 -07:00
parent ee837712aa
commit 0386d14638
9 changed files with 30 additions and 35 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ public:
DeckState(
uint8_t client_id,
const parray<CardIDT, 0x1F>& card_ids,
std::shared_ptr<PSOV2Encryption> random_crypt)
std::shared_ptr<PSOLFGEncryption> random_crypt)
: client_id(client_id),
draw_index(1),
card_ref_base(this->client_id << 8),
@@ -107,7 +107,7 @@ private:
parray<CardEntry, 31> entries;
parray<uint16_t, 31> card_refs;
std::shared_ptr<PSOV2Encryption> random_crypt;
std::shared_ptr<PSOLFGEncryption> random_crypt;
};
} // namespace Episode3