Skip to content

Commit

Permalink
Merge pull request #725 from miredirex/fix/cell-change-anim-crash
Browse files Browse the repository at this point in the history
Fix cell-change crash caused by use-after-free of BGSAttackDataMap
  • Loading branch information
RobbeBryssinck authored Oct 25, 2024
2 parents e7a5ebf + 1a45f7c commit b850014
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/client/Games/Skyrim/Components/BGSAttackDataForm.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#pragma once

#include <Components/BaseFormComponent.h>
#include <Games/Skyrim/NetImmerse/NiPointer.h>

struct BGSAttackDataMap : NiRefObject
{
};

struct BGSAttackDataForm : BaseFormComponent
{
BGSAttackDataMap* attackDataMap;
NiPointer<BGSAttackDataMap> attackDataMap;
};

0 comments on commit b850014

Please sign in to comment.