mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-05 20:53:52 +00:00
Changed how item faction bonuses are cleared.
This commit is contained in:
parent
93105966b6
commit
39abb4f50c
@ -4761,11 +4761,7 @@ int32 Mob::GetItemFactionBonus(uint32 pFactionID) {
|
||||
}
|
||||
|
||||
void Mob::ClearItemFactionBonuses() {
|
||||
std::map <uint32, int32> :: iterator itr;
|
||||
for(itr = item_faction_bonuses.begin(); itr != item_faction_bonuses.end(); ++itr)
|
||||
{
|
||||
item_faction_bonuses.erase(itr->first);
|
||||
}
|
||||
item_faction_bonuses.clear();
|
||||
}
|
||||
|
||||
FACTION_VALUE Mob::GetSpecialFactionCon(Mob* iOther) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user