Skip to content

Commit

Permalink
Fixed entity tag bag crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
MontagueM committed Aug 28, 2022
1 parent a6093db commit ec134dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Charm/TagListView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ private void LoadDestinationGlobalTagBagList()
_allTagItems.Add(new TagItem
{
Hash = dgtbParent.Header.DestinationGlobalTagBag,
Name = dgtbParent.Header.DestinationGlobalTagBagName,
// Name = dgtbParent.Header.DestinationGlobalTagBagName,
TagType = ETagListType.DestinationGlobalTagBag
});
});
Expand Down
14 changes: 7 additions & 7 deletions Field/Entities/EntityStructs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1163,14 +1163,14 @@ public struct VertexWeight
public struct D2Class_75988080
{
public long FileSize;
[DestinyField(FieldType.RelativePointer)]
public string DestinationGlobalTagBagName;
// [DestinyField(FieldType.RelativePointer)]
// public string DestinationGlobalTagBagName;
public TagHash DestinationGlobalTagBag;
[DestinyOffset(0x20)]
public TagHash PatrolTable1;
[DestinyOffset(0x28), DestinyField(FieldType.RelativePointer)]
public string PatrolTableName;
public TagHash PatrolTable2;
// [DestinyOffset(0x20)]
// public TagHash PatrolTable1;
// [DestinyOffset(0x28), DestinyField(FieldType.RelativePointer)]
// public string PatrolTableName;
// public TagHash PatrolTable2;
}

#endregion
Expand Down

0 comments on commit ec134dc

Please sign in to comment.