mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
[Hotfix] Fix Quest Ownership Edge Case
This commit is contained in:
+4
-2
@@ -998,11 +998,13 @@ int PerlembParser::SendCommands(
|
|||||||
|
|
||||||
int ret_value = 0;
|
int ret_value = 0;
|
||||||
RunningQuest q;
|
RunningQuest q;
|
||||||
if (mob && mob->IsClient()) {
|
|
||||||
q.owner = other;
|
q.owner = other;
|
||||||
q.initiator = mob->CastToClient();
|
|
||||||
q.questitem = inst;
|
q.questitem = inst;
|
||||||
q.questspell = spell;
|
q.questspell = spell;
|
||||||
|
|
||||||
|
if (mob && mob->IsClient()) {
|
||||||
|
q.initiator = mob->CastToClient();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zone) {
|
if (zone) {
|
||||||
|
|||||||
Reference in New Issue
Block a user