Allow near commands to list only object of your current phase

This commit is contained in:
Yehonal
2017-11-09 10:37:56 +00:00
parent 1c519f62ff
commit f669732d19
3 changed files with 4 additions and 2 deletions

View File

@@ -668,6 +668,7 @@ public:
stmt->setFloat(5, player->GetPositionY());
stmt->setFloat(6, player->GetPositionZ());
stmt->setFloat(7, distance * distance);
stmt->setFloat(8, player->GetPhaseMask());
PreparedQueryResult result = WorldDatabase.Query(stmt);
if (result)