Changeset 132 for trunk/src/game/MapManager.cpp
- Timestamp:
- 11/19/08 13:39:06 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/MapManager.cpp
r102 r132 166 166 // probably there must be special opcode, because client has this string constant in GlobalStrings.lua 167 167 // TODO: this is not a good place to send the message 168 player->GetSession()->SendAreaTriggerMessage( "You must be in a raid group to enter %s instance", mapName);168 player->GetSession()->SendAreaTriggerMessage(player->GetSession()->GetTrinityString(810), mapName); 169 169 sLog.outDebug("MAP: Player '%s' must be in a raid group to enter instance of '%s'", player->GetName(), mapName); 170 170 return false; … … 198 198 if (!instance_map) 199 199 { 200 player->GetSession()->SendAreaTriggerMessage( "You cannot enter %s while in a ghost mode", mapName);200 player->GetSession()->SendAreaTriggerMessage(player->GetSession()->GetTrinityString(811), mapName); 201 201 sLog.outDebug("MAP: Player '%s' doesn't has a corpse in instance '%s' and can't enter", player->GetName(), mapName); 202 202 return false;