From: <dol...@us...> - 2008-05-23 15:39:34
|
Revision: 5194 http://crawl-ref.svn.sourceforge.net/crawl-ref/?rev=5194&view=rev Author: dolorous Date: 2008-05-23 08:39:32 -0700 (Fri, 23 May 2008) Log Message: ----------- Revert being more forgiving about making unchivalric attacks by zapping unknown wands, since there's a warning prompt for it now. Modified Paths: -------------- trunk/crawl-ref/source/beam.cc Modified: trunk/crawl-ref/source/beam.cc =================================================================== --- trunk/crawl-ref/source/beam.cc 2008-05-23 15:15:10 UTC (rev 5193) +++ trunk/crawl-ref/source/beam.cc 2008-05-23 15:39:32 UTC (rev 5194) @@ -4533,7 +4533,9 @@ { if (YOU_KILL(beam.thrower) && hurt_final > 0) { - const bool okay = !beam.effect_known; + const bool okay = + (beam.aux_source == "reading a scroll of immolation" + && !beam.effect_known); if (is_sanctuary(mon->x, mon->y) || is_sanctuary(you.x_pos, you.y_pos)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |