aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.cpp
diff options
context:
space:
mode:
authorxinef1 <w.szyszko2@gmail.com>2017-02-05 23:42:31 +0100
committerShauren <shauren.trinity@gmail.com>2017-02-05 23:42:31 +0100
commit14dfc377b48bc909894396e65d4e4ce89d9708b6 (patch)
tree4c4a44bbbbd26e1266f1ffead2ce16890035e335 /src/server/game/Instances/InstanceScript.cpp
parent075f0e26ccaea835f1b3b771b717e9edef0d0b59 (diff)
Core/Misc: Various crash fixes (#19059)
* Replaced some FindPlayer calls with GetPlayer Fixed some more crashes * Correction
Diffstat (limited to 'src/server/game/Instances/InstanceScript.cpp')
-rw-r--r--src/server/game/Instances/InstanceScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp
index f4f91c16dc5..75245573e49 100644
--- a/src/server/game/Instances/InstanceScript.cpp
+++ b/src/server/game/Instances/InstanceScript.cpp
@@ -651,7 +651,7 @@ void InstanceScript::UpdateEncounterState(EncounterCreditType type, uint32 credi
if (Group* grp = player->GetGroup())
if (grp->isLFGGroup())
{
- sLFGMgr->FinishDungeon(grp->GetGUID(), dungeonId);
+ sLFGMgr->FinishDungeon(grp->GetGUID(), dungeonId, instance);
return;
}
}