Fix player loading to transports. Author of original version: Vladimir

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-06-22 01:30:37 +02:00
parent 0aa52477ae
commit a765961618
@@ -15935,6 +15935,7 @@ bool Player::LoadFromDB(uint32 guid, SqlQueryHolder *holder)
// There are no transports on instances
instanceId = 0;
m_movementInfo.t_guid = MAKE_NEW_GUID(transGUID, 0, HIGHGUID_TRANSPORT);
m_movementInfo.t_x = fields[26].GetFloat();
m_movementInfo.t_y = fields[27].GetFloat();
m_movementInfo.t_z = fields[28].GetFloat();