fix v1 unidentified item logic

This commit is contained in:
Martin Michelsen
2024-02-29 21:28:15 -08:00
parent f7c63d82f9
commit af1c51b2b5
2 changed files with 15 additions and 21 deletions
+1 -5
View File
@@ -55,7 +55,7 @@ public:
private:
PrefixedLogger log;
Version version;
Version logic_version;
std::shared_ptr<const ItemData::StackLimits> stack_limits;
Episode episode;
GameMode mode;
@@ -80,10 +80,6 @@ private:
// reason. We forego that and use only one for simplicity.
std::shared_ptr<PSOLFGEncryption> opt_rand_crypt;
inline bool is_v3() const {
return !is_v1_or_v2(this->version);
}
bool are_rare_drops_allowed() const;
uint8_t normalize_area_number(uint8_t area) const;