diff options
author | megamage <none@none> | 2009-05-24 11:15:37 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-24 11:15:37 -0500 |
commit | 35f08f9e21f063f8490ef3e5e714ec7f49af8007 (patch) | |
tree | 83450b8b7469c763350634a603c12f3f993eb824 /src | |
parent | 57f14494b1b25bd0894810ab1cce7a69a7e4d7dd (diff) |
[7880] Added error output for default switch case. Author: ApoC
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index c6f9d996f42..39076a21d8c 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; } |