Core/Spells: Fixed possible crashes in Shadow's Fate proc (71169) introduced in r91073dc6ace3

Core/AuctionHouse: Removed "using namespace std" and fixed crash in AuctionHouseMgr destructor

Closes issue #5132.
Closes issue #5134.

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-18 23:16:55 +01:00
parent 3ad400ad1a
commit 7196b880d6
3 changed files with 4 additions and 4 deletions
+2
View File
@@ -5793,6 +5793,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
case 71169:
{
target = triggeredByAura->GetCaster();
if (!target)
return false;
Player* player = target->ToPlayer();
if (!player)
return false;