*Typofix - Relocate != SetPosition - fixes problems with visibility after changing zones.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-08-04 19:44:34 +02:00
parent 96eb7c513f
commit 2789b30d19
2 changed files with 2 additions and 2 deletions
@@ -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
{
+1 -1
View File
@@ -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?)