fix(build) misc fixes to resolve build errors (#3)

* add include Player.h

* change Player.h to ScriptMgr.h

* add include Chat.h

* add include Player.h

* comment out unused variable
This commit is contained in:
Patrick Lewis
2020-11-16 15:43:51 -08:00
committed by GitHub
parent 7c864d8c65
commit fc53fc7764

View File

@@ -1,4 +1,7 @@
#include "Config.h"
#include "ScriptMgr.h"
#include "Chat.h"
#include "Player.h"
class AccountMounts : public PlayerScript
{
@@ -24,7 +27,7 @@ public:
{
Field* fields = result1->Fetch();
uint32 guid = fields[0].GetUInt32();
//uint32 guid = fields[0].GetUInt32(); //unused variable
uint32 race = fields[1].GetUInt8();
if ((Player::TeamIdForRace(race) == Player::TeamIdForRace(pPlayer->getRace())) || !limitrace)