* Add the ability to set player orientation for new characters.

* Requires DB data to actully do anything, however not needed for working
* server
* Original patch by Vladimir

--HG--
branch : trunk
This commit is contained in:
Brian
2010-07-22 14:37:32 -06:00
parent c8662c888b
commit 9ff821d8bb
5 changed files with 21 additions and 14 deletions
+1 -1
View File
@@ -679,7 +679,7 @@ bool Player::Create(uint32 guidlow, const std::string& name, uint8 race, uint8 c
for (uint8 i = 0; i < PLAYER_SLOTS_COUNT; i++)
m_items[i] = NULL;
Relocate(info->positionX,info->positionY,info->positionZ);
Relocate(info->positionX,info->positionY,info->positionZ,info->orientation);
ChrClassesEntry const* cEntry = sChrClassesStore.LookupEntry(class_);
if (!cEntry)