*Typofix - Relocate != SetPosition - fixes problems with visibility after changing zones.
--HG-- branch : trunk
This commit is contained in:
@@ -363,7 +363,7 @@ void WorldSession::HandleMovementOpcodes(WorldPacket & recv_data)
|
||||
return;
|
||||
}
|
||||
|
||||
mover->Relocate(movementInfo.pos);
|
||||
mover->SetPosition(movementInfo.pos);
|
||||
|
||||
if (plMover) // nothing is charmed, or player charmed
|
||||
{
|
||||
|
||||
@@ -247,7 +247,7 @@ bool SpellCastTargets::read (WorldPacket * data, Unit *caster)
|
||||
{
|
||||
if (data->rpos() + 1 > data->size())
|
||||
return false;
|
||||
*data << m_strTarget;
|
||||
*data >> m_strTarget;
|
||||
}
|
||||
|
||||
// some spell cast packet including more data (for projectiles?)
|
||||
|
||||
Reference in New Issue
Block a user