mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-07 21:32:26 +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() {
|
void Mob::ClearItemFactionBonuses() {
|
||||||
std::map <uint32, int32> :: iterator itr;
|
item_faction_bonuses.clear();
|
||||||
for(itr = item_faction_bonuses.begin(); itr != item_faction_bonuses.end(); ++itr)
|
|
||||||
{
|
|
||||||
item_faction_bonuses.erase(itr->first);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FACTION_VALUE Mob::GetSpecialFactionCon(Mob* iOther) {
|
FACTION_VALUE Mob::GetSpecialFactionCon(Mob* iOther) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user