diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-11-09 10:37:56 +0000 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-11-19 16:24:57 +0100 |
commit | f669732d19666b31aae946945ebf96198ac4b198 (patch) | |
tree | 8232b5dcbe6cab9c7b917a53b7523873a23de58e /src/scripts/Commands/cs_gobject.cpp | |
parent | 1c519f62ff936ccda0c8fe7dc7a8640d1cf53624 (diff) |
Allow near commands to list only object of your current phase
Diffstat (limited to 'src/scripts/Commands/cs_gobject.cpp')
-rw-r--r-- | src/scripts/Commands/cs_gobject.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scripts/Commands/cs_gobject.cpp b/src/scripts/Commands/cs_gobject.cpp index cdfc508d85..9d1c34c5a1 100644 --- a/src/scripts/Commands/cs_gobject.cpp +++ b/src/scripts/Commands/cs_gobject.cpp @@ -548,6 +548,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) |