mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
encounter events can now watch all events by all npcs/items/quests by registering themselves to watch -1, fix #74
This commit is contained in:
+1
-5
@@ -3261,10 +3261,9 @@ void ClientTaskState::ProcessTaskProximities(Client *c, float X, float Y, float
|
||||
float LastY = c->ProximityY();
|
||||
float LastZ = c->ProximityZ();
|
||||
|
||||
//_log(TASKS__PROXIMITY, "Checing proximities for Position %8.3f, %8.3f, %8.3f Last: %8.3f, %8.3f, %8.3f\n", X, Y, Z, LastX, LastY, LastZ);
|
||||
if((LastX==X) && (LastY==Y) && (LastZ==Z)) return;
|
||||
|
||||
_log(TASKS__PROXIMITY, "Checing proximities for Position %8.3f, %8.3f, %8.3f\n", X, Y, Z);
|
||||
_log(TASKS__PROXIMITY, "Checking proximities for Position %8.3f, %8.3f, %8.3f\n", X, Y, Z);
|
||||
int ExploreID = taskmanager->ProximityManager.CheckProximities(X, Y, Z);
|
||||
|
||||
if(ExploreID>0) {
|
||||
@@ -3273,9 +3272,6 @@ void ClientTaskState::ProcessTaskProximities(Client *c, float X, float Y, float
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
TaskGoalListManager::TaskGoalListManager() {
|
||||
|
||||
TaskGoalLists = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user