Changeset 239 for trunk/src/game
- Timestamp:
- 11/19/08 13:49:43 (17 years ago)
- Location:
- trunk/src/game
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Spell.cpp
r236 r239 4929 4929 // unselectable targets skipped in all cases except TARGET_SCRIPT targeting 4930 4930 // in case TARGET_SCRIPT target selected by server always and can't be cheated 4931 if( target->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE) &&4931 /*if( target->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE) && 4932 4932 m_spellInfo->EffectImplicitTargetA[eff] != TARGET_SCRIPT && 4933 4933 m_spellInfo->EffectImplicitTargetB[eff] != TARGET_SCRIPT ) 4934 return false; 4934 return false;*/ 4935 4935 } 4936 4936 -
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