Core/Unit: Always initialize a pointer before using it.
(less segfaults, more fun)
This commit is contained in:
@@ -252,6 +252,7 @@ m_HostileRefManager(this)
|
|||||||
|
|
||||||
_focusSpell = NULL;
|
_focusSpell = NULL;
|
||||||
_targetLocked = false;
|
_targetLocked = false;
|
||||||
|
_lastLiquid = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user