Core: Some function renaming.
This commit is contained in:
1 parent
46374bf533
commit
66978cfc3b
449 files changed
+2412
-2412
No files matched your search
@@ -579,7 +579,7 @@ void Map::ScriptsProcess()
|
||||
}
|
||||
|
||||
// quest id and flags checked at script loading
|
||||
if ((worldObject->GetTypeId() != TYPEID_UNIT || ((Unit*)worldObject)->isAlive()) &&
|
||||
if ((worldObject->GetTypeId() != TYPEID_UNIT || ((Unit*)worldObject)->IsAlive()) &&
|
||||
(step.script->QuestExplored.Distance == 0 || worldObject->IsWithinDistInMap(player, float(step.script->QuestExplored.Distance))))
|
||||
player->AreaExploredOrEventHappens(step.script->QuestExplored.QuestID);
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user