1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

Sort ESM3ExteriorCellRefIds earlier than StringRefIds

Causes inconsistency with the serialized type enumeration, but necessary for COC to work correctly
This commit is contained in:
Alexei Kotov 2023-07-16 17:06:31 +03:00
parent 98bb9fc125
commit 25f5c5651d

View File

@ -49,7 +49,7 @@ namespace ESM
{
public:
using Value
= std::variant<EmptyRefId, StringRefId, FormIdRefId, GeneratedRefId, IndexRefId, ESM3ExteriorCellRefId>;
= std::variant<EmptyRefId, ESM3ExteriorCellRefId, StringRefId, FormIdRefId, GeneratedRefId, IndexRefId>;
// Constructs RefId from a serialized string containing byte by byte copy of RefId::mValue.
static ESM::RefId deserialize(std::string_view value);