Core: Some function renaming.

This commit is contained in:
Malcrom
2013-06-11 19:54:27 -02:30
parent 46374bf533
commit 66978cfc3b
449 changed files with 2412 additions and 2412 deletions

View File

@@ -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