mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[6834] Fixed typo in Unit::RemoveAura leading to crash.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
520fce4b27
commit
fc0e3e87a8
2 changed files with 2 additions and 2 deletions
|
|
@ -4105,7 +4105,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
|
||||||
if (IsSingleTargetSpell(AurSpellInfo))
|
if (IsSingleTargetSpell(AurSpellInfo))
|
||||||
{
|
{
|
||||||
caster = Aur->GetCaster();
|
caster = Aur->GetCaster();
|
||||||
if(!caster)
|
if(caster)
|
||||||
{
|
{
|
||||||
AuraList& scAuras = caster->GetSingleCastAuras();
|
AuraList& scAuras = caster->GetSingleCastAuras();
|
||||||
scAuras.remove(Aur);
|
scAuras.remove(Aur);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "6833"
|
#define REVISION_NR "6834"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue