mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
Updated to client build 11723.
This commit is contained in:
parent
811f0e7ebf
commit
dd3d5eec69
14 changed files with 102 additions and 110 deletions
|
|
@ -3676,7 +3676,7 @@ void Spell::TakeCastItem()
|
|||
((Player*)m_caster)->DestroyItemCount(m_CastItem, count, true);
|
||||
|
||||
// prevent crash at access to deleted m_targets.getItemTarget
|
||||
if(m_CastItem==m_targets.getItemTarget())
|
||||
if(m_CastItem == m_targets.getItemTarget())
|
||||
m_targets.setItemTarget(NULL);
|
||||
|
||||
m_CastItem = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue