From 35f08f9e21f063f8490ef3e5e714ec7f49af8007 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 24 May 2009 11:15:37 -0500 Subject: [PATCH] [7880] Added error output for default switch case. Author: ApoC --HG-- branch : trunk --- src/game/Unit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index c6f9d996f4..39076a21d8 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5275,6 +5275,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger { case 31571: triggered_spell_id = 57529; break; case 31572: triggered_spell_id = 57531; break; + default: + sLog.outError("Unit::HandleDummyAuraProc: non handled spell id: %u",dummySpell->Id); + return false; } break; }