mirror of
https://github.com/azerothcore/mod-account-mounts
synced 2025-11-29 23:44:52 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user