[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
This commit is contained in:
KingPin
2008-10-29 17:09:32 -05:00
parent febb2d6147
commit ce2d63e4ae
11 changed files with 341 additions and 114 deletions

View File

@@ -551,6 +551,9 @@ void WorldSession::HandleGroupChangeSubGroupOpcode( WorldPacket & recv_data )
/** error handling **/
if(!group->IsLeader(GetPlayer()->GetGUID()) && !group->IsAssistant(GetPlayer()->GetGUID()))
return;
if (!group->HasFreeSlotSubGroup(groupNr))
return;
/********************/
// everything's fine, do it