Core/Units: Removed unused vehicle check

This commit is contained in:
Shauren
2011-07-08 18:16:28 +02:00
parent 34124f6ce9
commit d12194a006
2 changed files with 0 additions and 14 deletions
-13
View File
@@ -16808,19 +16808,6 @@ void Unit::JumpTo(WorldObject *obj, float speedZ)
GetMotionMaster()->MoveJump(x, y, z, speedXY, speedZ);
}
bool Unit::CheckPlayerCondition(Player* pPlayer)
{
switch(GetEntry())
{
case 35644: // Argent Warhorse
case 36558: // Argent Battleworg
if (!pPlayer->HasItemOrGemWithIdEquipped(46106, 1)) // Check item Argent Lance
return false;
default:
return true;
}
}
bool Unit::HandleSpellClick(Unit* clicker, int8 seatId)
{
bool success = false;