diff options
author | Spp <none@none> | 2010-12-13 21:31:55 +0100 |
---|---|---|
committer | Spp <none@none> | 2010-12-13 21:31:55 +0100 |
commit | 89a33bbf612fcd0d5cea8e1fc5deff87e53aa67e (patch) | |
tree | 7af78ca3232133f6619cf26549465b140a42b985 /src/server/game/DungeonFinding/LFGScripts.h | |
parent | 865f35a63702d5ab723cfbc2ea5a5f3e76e2f344 (diff) |
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
Diffstat (limited to 'src/server/game/DungeonFinding/LFGScripts.h')
-rw-r--r-- | src/server/game/DungeonFinding/LFGScripts.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/DungeonFinding/LFGScripts.h b/src/server/game/DungeonFinding/LFGScripts.h index e6216cf8d8e..ff9a6d26232 100644 --- a/src/server/game/DungeonFinding/LFGScripts.h +++ b/src/server/game/DungeonFinding/LFGScripts.h @@ -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); |