[7982] Add lost by me check lines in [7980] :(

This commit is contained in:
VladimirMangos 2009-06-09 12:15:22 +04:00
parent 28680fccd6
commit 67e002ef46
2 changed files with 7 additions and 1 deletions

View file

@ -988,6 +988,12 @@ bool Item::IsBindedNotWith( Player const* player ) const
bool ItemRequiredTarget::IsFitToRequirements( Unit* pUnitTarget ) const
{
if(pUnitTarget->GetTypeId() != TYPEID_UNIT)
return false;
if(pUnitTarget->GetEntry() != m_uiTargetEntry)
return false;
switch(m_uiType)
{
case ITEM_TARGET_TYPE_CREATURE:

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7981"
#define REVISION_NR "7982"
#endif // __REVISION_NR_H__