diff options
| author | megamage <none@none> | 2009-04-11 23:12:16 -0500 | 
|---|---|---|
| committer | megamage <none@none> | 2009-04-11 23:12:16 -0500 | 
| commit | 3d1f17dd5177c5a87bf3aa4d23263449297dbc5a (patch) | |
| tree | 56ce753334565704ff075e42d6678cec89950627 /src | |
| parent | f1b2e437a44f045ba68b9b52d46071c60f9d8e78 (diff) | |
Fix ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM progress calc Author: DiSlord
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Player.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index c2e33a22e9f..073eded3b9f 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -10195,7 +10195,7 @@ Item* Player::StoreItem( ItemPosCountVec const& dest, Item* pItem, bool update )          return NULL;      Item* lastItem = pItem; - +    uint32 entry = pItem->GetEntry();      for(ItemPosCountVec::const_iterator itr = dest.begin(); itr != dest.end(); )      {          uint16 pos = itr->pos; @@ -10211,7 +10211,7 @@ Item* Player::StoreItem( ItemPosCountVec const& dest, Item* pItem, bool update )          lastItem = _StoreItem(pos,pItem,count,true,update);      } - +    GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM, entry);      return lastItem;  } @@ -13337,7 +13337,6 @@ void Player::ItemAddedQuestCheck( uint32 entry, uint32 count )          }      }      UpdateForQuestsGO(); -    GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM, entry);  }  void Player::ItemRemovedQuestCheck( uint32 entry, uint32 count )  | 
