Skip to content

Commit

Permalink
Fix build issues after latest merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Jan 6, 2024
1 parent d115cea commit 0c40c46
Show file tree
Hide file tree
Showing 23 changed files with 2,991 additions and 3,011 deletions.
7 changes: 3 additions & 4 deletions GroupHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ using namespace Hooks;
return RETVAL;\
auto key = EventKey<GroupEvents>(EVENT);\
if (!GroupEventBindings->HasBindingsFor(key))\
return RETVAL;\
LOCK_ELUNA
return RETVAL;

void Eluna::OnAddMember(Group* group, ObjectGuid guid)
{
Expand Down Expand Up @@ -91,7 +90,7 @@ void Eluna::OnCreate(Group* group, ObjectGuid leaderGuid, GroupType groupType)
bool Eluna::OnMemberAccept(Group* group, Player* player)
{
START_HOOK_WITH_RETVAL(GROUP_EVENT_ON_MEMBER_ACCEPT, true);
Push(group);
Push(player);
HookPush(group);
HookPush(player);
return CallAllFunctionsBool(GroupEventBindings, key, true);
}
Loading

0 comments on commit 0c40c46

Please sign in to comment.