Fix build with scripts included

This commit is contained in:
Machiavelli
2011-02-20 21:07:03 +01:00
parent 250bc09ded
commit c1445cd475
26 changed files with 52 additions and 52 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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;
}
}