Scripts/Commands: update .wp commands to use orientation field from DB (PR #23566)

Closes #23330

(cherry picked from commit e71773140c8efbea4abe612a71d4a65f041d450c)
This commit is contained in:
ForesterDev
2021-12-15 00:17:13 +01:00
committed by Shauren
parent a5d8807af8
commit 61cc88731c
3 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -1304,7 +1304,7 @@ public:
{
Player* player = handler->GetSession()->GetPlayer();
TC_LOG_INFO("sql.dev", "(@PATH, XX, %.3f, %.3f, %.5f, 0, 0, 0, 100, 0),", player->GetPositionX(), player->GetPositionY(), player->GetPositionZ());
TC_LOG_INFO("sql.dev", "(@PATH, XX, %.3f, %.3f, %.5f, %.5f, 0, 0, 0, 100, 0),", player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), player->GetOrientation());
handler->PSendSysMessage("Waypoint SQL written to SQL Developer log");
return true;