Fixed compilation

This commit is contained in:
Yehonal
2016-08-08 12:12:33 +02:00
parent 28d7f59b32
commit 83c9046ae3
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -513,7 +513,7 @@ Player* Item::GetOwner()const
// Legacy / Shortcut // Legacy / Shortcut
uint32 Item::GetSkill() uint32 Item::GetSkill()
{ {
return proto->GetSkill(); return GetTemplate()->GetSkill();
} }
uint32 Item::GetSpell() uint32 Item::GetSpell()
@@ -7,10 +7,13 @@ REWRITTEN FROM SCRATCH BY PUSSYWIZARD, IT OWNS NOW!
#include "trial_of_the_champion.h" #include "trial_of_the_champion.h"
#include "Vehicle.h" #include "Vehicle.h"
#include "Player.h" #include "Player.h"
#include "Group.h"
const Position SpawnPosition = {746.67f, 684.08f, 412.5f, 4.65f}; const Position SpawnPosition = {746.67f, 684.08f, 412.5f, 4.65f};
#define CLEANUP_CHECK_INTERVAL 5000 #define CLEANUP_CHECK_INTERVAL 5000
class Group;
class instance_trial_of_the_champion : public InstanceMapScript class instance_trial_of_the_champion : public InstanceMapScript
{ {
public: public: