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/GroupHandler.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/GroupHandler.cpp')
-rw-r--r-- | src/game/GroupHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/GroupHandler.cpp b/src/game/GroupHandler.cpp index 90281c15ed7..5f384aa1d8d 100644 --- a/src/game/GroupHandler.cpp +++ b/src/game/GroupHandler.cpp @@ -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 |