One last culprit...
This commit is contained in:
1 parent
26869bda30
commit
f266d3d957
1 file changed
+1
-1
@@ -575,7 +575,7 @@ void Map::ScriptsProcess()
|
||||
|
||||
// quest id and flags checked at script loading
|
||||
if ((worldObject->GetTypeId() != TYPEID_UNIT || ((Unit*)worldObject)->isAlive()) &&
|
||||
(step.script->QuestExplored.Distance == 0 || worldObject->IsWithinDistInMap(target, float(step.script->QuestExplored.Distance))))
|
||||
(step.script->QuestExplored.Distance == 0 || worldObject->IsWithinDistInMap(pTarget, float(step.script->QuestExplored.Distance))))
|
||||
pTarget->AreaExploredOrEventHappens(step.script->QuestExplored.QuestID);
|
||||
else
|
||||
pTarget->FailQuest(step.script->QuestExplored.QuestID);
|
||||
|
||||
Reference in new issue
Block a user