aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-06 09:36:51 -0500
committermegamage <none@none>2009-05-06 09:36:51 -0500
commit22667d3ee6ee258e60a711e2d1a504a9769d071c (patch)
tree8d67e06df3beeacec2d19eb9d03ff8e7e353f41e /src/game/Unit.cpp
parent50dc00cce0f6efc4424be7648d33c38cc189c54c (diff)
*Update script of heigan.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 093ef51925c..c9ef3125372 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -13861,11 +13861,12 @@ void Unit::NearTeleportTo( float x, float y, float z, float orientation, bool ca
DestroyForNearbyPlayers();
GetMap()->CreatureRelocation((Creature*)this, x, y, z, orientation);
+ ObjectAccessor::UpdateObjectVisibility(this);
//WorldPacket data;
// Work strange for many spells: triggered active mover set for targeted player to creature
//BuildTeleportAckMsg(&data, x, y, z, orientation);
- BuildHeartBeatMsg(&data);
- SendMessageToSet(&data, false);
+ //BuildHeartBeatMsg(&data);
+ //SendMessageToSet(&data, false);
}
}