Skip to content

Commit

Permalink
[10079] Don't allow cancel passive spells
Browse files Browse the repository at this point in the history
  • Loading branch information
Laise committed Jun 19, 2010
1 parent 46c8890 commit 9b23a8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/game/SpellHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ void WorldSession::HandleCancelAuraOpcode( WorldPacket& recvPacket)
if (spellInfo->Attributes & SPELL_ATTR_CANT_CANCEL)
return;

if (IsPassiveSpell(spellInfo))
return;

if (!IsPositiveSpell(spellId))
{
// ignore for remote control state
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10078"
#define REVISION_NR "10079"
#endif // __REVISION_NR_H__

0 comments on commit 9b23a8b

Please sign in to comment.