Core: Remove Player.h dependency from all the possible headers

This commit is contained in:
Spp committed 2012-11-17 05:18:37 +01:00
1 parent d55771267a
commit b99c347747
293 files changed
+567 -260

No files matched your search

+2 -1
View File
@@ -23,6 +23,7 @@
#include "World.h"
#include "DatabaseEnv.h"
#include "AccountMgr.h"
#include "Player.h"
Channel::Channel(const std::string& name, uint32 channel_id, uint32 Team) : m_announce(true),
m_ownership(true), m_name(name), m_password(""), m_flags(0), m_channelId(channel_id),
@@ -385,7 +386,7 @@ void Channel::Password(uint64 p, const char *pass)
if (player)
sec = player->GetSession()->GetSecurity();
ChatHandler chat(player);
ChatHandler chat(player->GetSession());
if (!IsOn(p))
{