aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-15 18:02:10 +0100
committerQAston <none@none>2009-03-15 18:02:10 +0100
commit7a1e7c4f73db8374aadfdd9a397a52549e09e90a (patch)
tree4ceb605871d629a9f9d24443520ee4b91d30e50f /src/game/Unit.h
parentf9b14c221bef52313ed9f8ec1802af507b770a69 (diff)
*Prevent possible crash.
*Remove obsolete Judgement of Righteousness coefficient-by cccyril --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index c53da84acd1..c3b786f2715 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1384,7 +1384,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
return &itr->second;
return 0;
}
- void SetVisibleAura(uint8 slot, AuraSlotEntry entry) { m_visibleAuras[slot] = entry; }
+ AuraSlotEntry * GetVisibleAuraSlot(uint8 slot) { return &m_visibleAuras[slot]; }
void RemoveVisibleAura(uint8 slot) { m_visibleAuras.erase(slot); }
const uint64& GetAuraUpdateMask() const { return m_auraUpdateMask; }