mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 22:56:24 +00:00
Fixed compilation
This commit is contained in:
@@ -513,7 +513,7 @@ Player* Item::GetOwner()const
|
||||
// Legacy / Shortcut
|
||||
uint32 Item::GetSkill()
|
||||
{
|
||||
return proto->GetSkill();
|
||||
return GetTemplate()->GetSkill();
|
||||
}
|
||||
|
||||
uint32 Item::GetSpell()
|
||||
|
||||
@@ -7,10 +7,13 @@ REWRITTEN FROM SCRATCH BY PUSSYWIZARD, IT OWNS NOW!
|
||||
#include "trial_of_the_champion.h"
|
||||
#include "Vehicle.h"
|
||||
#include "Player.h"
|
||||
#include "Group.h"
|
||||
|
||||
const Position SpawnPosition = {746.67f, 684.08f, 412.5f, 4.65f};
|
||||
#define CLEANUP_CHECK_INTERVAL 5000
|
||||
|
||||
class Group;
|
||||
|
||||
class instance_trial_of_the_champion : public InstanceMapScript
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user