*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:
QAston
2010-08-27 23:12:52 +02:00
parent 91233b9ba8
commit 5eb7e80fd5
4 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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);
}