Core/Unit: Always initialize a pointer before using it.
(less segfaults, more fun)
This commit is contained in:
1 parent
0f48da6ed1
commit
3189b57bf5
1 file changed
+1
@@ -252,6 +252,7 @@ m_HostileRefManager(this)
|
||||
|
||||
_focusSpell = NULL;
|
||||
_targetLocked = false;
|
||||
_lastLiquid = NULL;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user