fix(Core): Crash related to reset instances (#11003)

This commit is contained in:
UltraNix
2022-03-18 23:32:28 +01:00
committed by GitHub
parent 52427b4ec2
commit 3c9e8d4eb1
3 changed files with 31 additions and 10 deletions

View File

@@ -166,7 +166,7 @@ public:
InstanceSave* AddInstanceSave(uint32 mapId, uint32 instanceId, Difficulty difficulty, bool startup = false);
bool DeleteInstanceSaveIfNeeded(uint32 InstanceId, bool skipMapCheck);
bool DeleteInstanceSaveIfNeeded(InstanceSave* save, bool skipMapCheck);
bool DeleteInstanceSaveIfNeeded(InstanceSave* save, bool skipMapCheck, bool deleteSave = true);
InstanceSave* GetInstanceSave(uint32 InstanceId);