summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_gobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/Commands/cs_gobject.cpp')
-rw-r--r--src/scripts/Commands/cs_gobject.cpp1
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)