diff options
author | KingPin <none@none> | 2008-10-29 17:09:32 -0500 |
---|---|---|
committer | KingPin <none@none> | 2008-10-29 17:09:32 -0500 |
commit | ce2d63e4aeddca0781c2eef764a6df0154f561fc (patch) | |
tree | 1b4aeb6a43215b64214e044c791c0324ed0af467 /src/game/MapManager.cpp | |
parent | febb2d61472bbce18e008967dad04d2eaaa063cf (diff) |
[svn] * Added npc follow, waterwalk, repairitems commands. Patch by dythzer
* Prevent adding more than 5 people to raid - Apoc
* fixed typo from one of our previous commits.
* Fixed two strings in core, thanx to warhead for patch.
--HG--
branch : trunk
Diffstat (limited to 'src/game/MapManager.cpp')
-rw-r--r-- | src/game/MapManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/MapManager.cpp b/src/game/MapManager.cpp index e80cab60144..86206fef49b 100644 --- a/src/game/MapManager.cpp +++ b/src/game/MapManager.cpp @@ -165,7 +165,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("You must be in a raid group to enter %s instance", mapName); + player->GetSession()->SendAreaTriggerMessage(player->GetSession()->GetTrinityString(810), mapName); sLog.outDebug("MAP: Player '%s' must be in a raid group to enter instance of '%s'", player->GetName(), mapName); return false; } @@ -197,7 +197,7 @@ bool MapManager::CanPlayerEnter(uint32 mapid, Player* player) if (!instance_map) { - player->GetSession()->SendAreaTriggerMessage("You cannot enter %s while in a ghost mode", mapName); + player->GetSession()->SendAreaTriggerMessage(player->GetSession()->GetTrinityString(811), mapName); sLog.outDebug("MAP: Player '%s' doesn't has a corpse in instance '%s' and can't enter", player->GetName(), mapName); return false; } |