Show
Ignore:
Timestamp:
11/19/08 13:23:29 (17 years ago)
Author:
yumileroy
Message:

[svn] * Little fix in RandomMovementGenerator?
* Updated to 6731 and 680

Original author: Neo2003
Date: 2008-10-06 04:48:59-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Spell.cpp

    r15 r18  
    36823682                    return SPELL_FAILED_BAD_TARGETS; 
    36833683 
     3684                // In BattleGround players can use only flags and banners 
     3685                if( ((Player*)m_caster)->InBattleGround() && 
     3686                    !((Player*)m_caster)->isAllowUseBattleGroundObject() ) 
     3687                    return SPELL_FAILED_TRY_AGAIN; 
     3688 
    36843689                // get the lock entry 
    36853690                LockEntry const *lockInfo = NULL;