Fix build with scripts included
This commit is contained in:
1 parent
250bc09ded
commit
c1445cd475
26 files changed
+52
-52
No files matched your search
@@ -160,7 +160,7 @@ public:
|
||||
if (pPlayer->GetBaseSkillValue(SKILL_RIDING) == 300)
|
||||
return false;
|
||||
|
||||
sLog->outDebug("TSCR: Player attempt to use item %u, but did not meet riding requirement",itemId);
|
||||
sLog->outDebug(LOG_FILTER_TSCR, "TSCR: Player attempt to use item %u, but did not meet riding requirement",itemId);
|
||||
pPlayer->SendEquipError(EQUIP_ERR_CANT_EQUIP_SKILL,pItem,NULL);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -236,7 +236,7 @@ bool EquippedOk(Player* pPlayer, uint32 spellId)
|
||||
if (pItem->GetProto()->RequiredSpell == reqSpell)
|
||||
{
|
||||
//player has item equipped that require specialty. Not allow to unlearn, player has to unequip first
|
||||
sLog->outDebug("TSCR: player attempt to unlearn spell %u, but item %u is equipped.",reqSpell,pItem->GetProto()->ItemId);
|
||||
sLog->OutDebug(LOG_FILTER_TSCR, "TSCR: player attempt to unlearn spell %u, but item %u is equipped.",reqSpell,pItem->GetProto()->ItemId);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user