From 37ca61fa33fb9dc6dea480044d91bbfcf45d3932 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Mon, 4 Jan 2010 20:36:29 +1000 Subject: Fix chaos beams causing "software bugs nibble at your feet" (Darshan) This was caused by a switch statement not handling BEAM_BERSERK and BEAM_MIGHT. --- crawl-ref/source/beam.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 2ac31458bf..5b2467bda6 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -4157,6 +4157,16 @@ void bolt::affect_player_enchantment() obvious_effect = true; break; + case BEAM_BERSERK: + potion_effect( POT_BERSERK_RAGE, ench_power ); + obvious_effect = true; + break; + + case BEAM_MIGHT: + potion_effect( POT_MIGHT, ench_power ); + obvious_effect = true; + break; + default: // _All_ enchantments should be enumerated here! mpr("Software bugs nibble your toes!"); -- cgit v1.2.3-54-g00ecf