*Send VICTIMSTATE_INTACT on melee attack miss.
*Rename VICTIMSTATE_NORMAL to VICTIMSTATE_HIT. *Set default memory allocated in Spell::InitExecuteLogData to 32 bytes. --HG-- branch : trunk
This commit is contained in:
@@ -7269,7 +7269,7 @@ void Spell::InitEffectExecuteData(uint8 effIndex)
|
||||
ASSERT(effIndex < MAX_SPELL_EFFECTS);
|
||||
if (!m_effectExecuteData[effIndex])
|
||||
{
|
||||
m_effectExecuteData[effIndex] = new ByteBuffer();
|
||||
m_effectExecuteData[effIndex] = new ByteBuffer(0x20);
|
||||
// first dword - target counter
|
||||
*m_effectExecuteData[effIndex] << uint32(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user