diff options
| author | Blaymoira <none@none> | 2008-12-26 13:45:46 +0100 | 
|---|---|---|
| committer | Blaymoira <none@none> | 2008-12-26 13:45:46 +0100 | 
| commit | 023efbafdd93b36d4886bf7c2f2fcc167f359d21 (patch) | |
| tree | f95b49564aff288c043a7f90b97c947f796ddb52 /src/game/SpellEffects.cpp | |
| parent | 8e52469ad1890c75d55648392b3812b537be5796 (diff) | |
*New check for SPELL_FAILED_NO_DUELING by dungeons - by redcell
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index f4bf1af0180..e8fdbf5adce 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5085,7 +5085,7 @@ void Spell::EffectDuel(uint32 i)      // Players can only fight a duel with each other outside (=not inside dungeons and not in capital cities)      // Don't have to check the target's map since you cannot challenge someone across maps -    if( caster->GetMapId() != 0 && caster->GetMapId() != 1 && caster->GetMapId() != 530) +    if(caster->GetMap()->Instanceable())      {          SendCastResult(SPELL_FAILED_NO_DUELING);            // Dueling isn't allowed here          return;  | 
