aboutsummaryrefslogtreecommitdiff
path: root/src/game/MapManager.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2009-04-07 18:14:40 +0200
committerXTZGZoReX <none@none>2009-04-07 18:14:40 +0200
commitc4f76b922d4602cf3123aff4941d7ac32abb6f38 (patch)
tree692a753b534f22a2f07740668e6b12788ac58325 /src/game/MapManager.cpp
parentcea63f6fc68ecbbdf21b5f8e59464c5db4aa10c6 (diff)
parent230b3d41ef5197fb99119da72792984ba192c891 (diff)
* Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/MapManager.cpp')
-rw-r--r--src/game/MapManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/MapManager.cpp b/src/game/MapManager.cpp
index e083302e045..061e0252a13 100644
--- a/src/game/MapManager.cpp
+++ b/src/game/MapManager.cpp
@@ -32,6 +32,7 @@
#include "CellImpl.h"
#include "Corpse.h"
#include "ObjectMgr.h"
+#include "Language.h"
#define CLASS_LOCK Trinity::ClassLevelLockable<MapManager, ZThread::Mutex>
INSTANTIATE_SINGLETON_2(MapManager, CLASS_LOCK);
@@ -165,7 +166,7 @@ bool MapManager::CanPlayerEnter(uint32 mapid, Player* player)
{
// probably there must be special opcode, because client has this string constant in GlobalStrings.lua
// TODO: this is not a good place to send the message
- player->GetSession()->SendAreaTriggerMessage(player->GetSession()->GetTrinityString(810), mapName);
+ player->GetSession()->SendAreaTriggerMessage(player->GetSession()->GetTrinityString(LANG_INSTANCE_RAID_GROUP_ONLY), mapName);
sLog.outDebug("MAP: Player '%s' must be in a raid group to enter instance of '%s'", player->GetName(), mapName);
return false;
}