mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 19:37:02 +00:00
[7982] Add lost by me check lines in [7980] :(
This commit is contained in:
parent
28680fccd6
commit
67e002ef46
2 changed files with 7 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue