Skip to content

Commit

Permalink
Interrupt cast at looting
Browse files Browse the repository at this point in the history
Signed-off-by: robinsch <robin.schriever.hude@web.de>
  • Loading branch information
robinsch authored and Fabi committed Jan 3, 2017
1 parent f4eb446 commit 6533be1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game/LootHandler.cpp
Expand Up @@ -113,6 +113,10 @@ void WorldSession::HandleLootOpcode(WorldPacket& recv_data)

loot->ShowContentTo(_player);
}

// interrupt cast
if (GetPlayer()->IsNonMeleeSpellCasted(false))
GetPlayer()->InterruptNonMeleeSpells(false);
}

void WorldSession::HandleLootReleaseOpcode(WorldPacket& recv_data)
Expand Down

0 comments on commit 6533be1

Please sign in to comment.