Changeset 239 for trunk/src/game/Unit.cpp
- Timestamp:
- 11/19/08 13:49:43 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Unit.cpp
r236 r239 498 498 // interrupt channeled spell 499 499 if(Spell* spell = m_currentSpells[CURRENT_CHANNELED_SPELL]) 500 if(spell->getState() == SPELL_STATE_CASTING && (spell->m_spellInfo-> AuraInterruptFlags & flag))500 if(spell->getState() == SPELL_STATE_CASTING && (spell->m_spellInfo->ChannelInterruptFlags & flag)) 501 501 InterruptNonMeleeSpells(false); 502 502 } … … 512 512 if(Spell* spell = m_currentSpells[CURRENT_CHANNELED_SPELL]) 513 513 if(spell->getState() == SPELL_STATE_CASTING) 514 m_interruptMask |= spell->m_spellInfo-> AuraInterruptFlags;514 m_interruptMask |= spell->m_spellInfo->ChannelInterruptFlags; 515 515 } 516 516