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

View File

@@ -513,7 +513,7 @@ Player* Item::GetOwner()const
// Legacy / Shortcut
uint32 Item::GetSkill()
{
return proto->GetSkill();
return GetTemplate()->GetSkill();
}
uint32 Item::GetSpell()