mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Dungeon Finder: Fix a crash in Join when there are no dungeons available for that group (And probably other random crashes that appear when having DF enabled)
Core/Dungeon Finder: Tab2spaces + remove trailing spaces in LFG* files. Notes to self: - assign NULL to a pointer parameter will not change the pointer value outside the scope of the function - deleting a const_iterator can lead to mem corruption --HG-- branch : trunk
This commit is contained in:
@@ -28,8 +28,8 @@ class Group;
|
||||
|
||||
class LFGScripts: public GroupScript, PlayerScript
|
||||
{
|
||||
public:
|
||||
LFGScripts();
|
||||
public:
|
||||
LFGScripts();
|
||||
|
||||
// Group Hooks
|
||||
void OnAddMember(Group* group, uint64 guid);
|
||||
@@ -37,8 +37,8 @@ class LFGScripts: public GroupScript, PlayerScript
|
||||
void OnDisband(Group* group);
|
||||
void OnChangeLeader(Group* group, uint64 newLeaderGuid, uint64 oldLeaderGuid);
|
||||
void OnInviteMember(Group* group, uint64 guid);
|
||||
|
||||
// Player Hooks
|
||||
|
||||
// Player Hooks
|
||||
void OnLevelChanged(Player* player, uint8 newLevel);
|
||||
void OnLogout(Player* player);
|
||||
void OnLogin(Player* player);
|
||||
|
||||
Reference in New Issue
Block a user