aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Maps/Map.h
diff options
context:
space:
mode:
authorlinencloth <none@none>2010-10-25 02:30:50 +0200
committerlinencloth <none@none>2010-10-25 02:30:50 +0200
commit3742e8ddec39e82ee5ce2d596433077beae7902d (patch)
tree111b10f39ae9a666e896f13b0b3c9311dc00b73e /src/server/game/Maps/Map.h
parent910264070c9105519a2057fff0b8c72f6c1b01c7 (diff)
Core/Transport: Prevent creature passengers from teleporting to an invalid grid.
--HG-- branch : trunk
Diffstat (limited to 'src/server/game/Maps/Map.h')
-rwxr-xr-xsrc/server/game/Maps/Map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Maps/Map.h b/src/server/game/Maps/Map.h
index 7d87bba823f..534115e7e0d 100755
--- a/src/server/game/Maps/Map.h
+++ b/src/server/game/Maps/Map.h
@@ -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);