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

Closes #23330
This commit is contained in:
ForesterDev
2019-07-08 16:16:10 +04:00
committed by Treeston
parent 671052575a
commit e71773140c
3 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -1564,7 +1564,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;