Core/Transport: Prevent creature passengers from teleporting to an invalid grid.

--HG--
branch : trunk
This commit is contained in:
linencloth
2010-10-25 02:30:50 +02:00
parent 910264070c
commit 3742e8ddec
3 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ class Map : public GridRefManager<NGridType>
virtual void InitVisibilityDistance();
void PlayerRelocation(Player *, float x, float y, float z, float orientation);
void CreatureRelocation(Creature *creature, float x, float y, float z, float ang);
void CreatureRelocation(Creature *creature, float x, float y, float z, float ang, bool respawnRelocationOnFail = true);
template<class T, class CONTAINER> void Visit(const Cell& cell, TypeContainerVisitor<T, CONTAINER> &visitor);