diff options
author | maximius <none@none> | 2009-11-17 23:13:54 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-17 23:13:54 -0800 |
commit | 9eae529293c56b9ee7d815d9e10f38df7833f577 (patch) | |
tree | bb428d527f1e7088177b1d1fe25c2c62533d17d3 | |
parent | 1fac6a6c4089898fb9017cc8dc04e9545a7a8ec6 (diff) |
*Fix *nix compile, closes #301
--HG--
branch : trunk
-rw-r--r-- | src/game/Unit.cpp | 2 | ||||
-rw-r--r-- | src/game/Wintergrasp.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 1b457be5df9..302e97ce053 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -559,7 +559,7 @@ void Unit::RemoveAurasWithInterruptFlags(uint32 flag, uint32 except) void Unit::RemoveAurasWithFamily(uint32 family, uint32 familyFlag1, uint32 familyFlag2, uint32 familyFlag3, uint64 casterGUID) { - for (AuraMap::iterator iter = m_Auras.begin(); iter != m_Auras.end(); ) + for (AuraMap::iterator iter = m_Auras.begin(); iter != m_Auras.end();) { if (!casterGUID || iter->second->GetCasterGUID() == casterGUID) { diff --git a/src/game/Wintergrasp.cpp b/src/game/Wintergrasp.cpp index a1e8b4a0a50..56bdd3df187 100644 --- a/src/game/Wintergrasp.cpp +++ b/src/game/Wintergrasp.cpp @@ -966,7 +966,6 @@ bool OPvPWintergrasp::UpdateQuestGiverPosition(uint32 guid, Creature *creature) { assert(guid); Position pos = m_qgPosMap[std::pair<uint32, bool>(guid, getDefenderTeam() == TEAM_HORDE)]; - assert(pos); if (creature && creature->IsInWorld()) { |