Core/Entities: Missing change from previous commit

Calling UpdateObjectVisibility() will make sure that the semi-far teleports (those where the destination position is not in direct sight) will work correctly.
This commit is contained in:
Subv committed 2012-12-23 09:33:29 -05:00
1 parent 143340b38c
commit 24466d721c
1 file changed
+1
+1
View File
@@ -17327,6 +17327,7 @@ void Unit::NearTeleportTo(float x, float y, float z, float orientation, bool cas
UpdatePosition(x, y, z, orientation, true);
Position pos; // dummy, not used for creatures.
SendTeleportPacket(pos);
UpdateObjectVisibility();
}
}