summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-20 18:01:09 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-20 18:01:09 +0000
commitd9dd888a10a3087d3ec5cf82364cfd6495abd3e4 (patch)
tree6acddf0f589891b2925f7653208ba2e29d1478d6 /crawl-ref/source/delay.cc
parentbb3b8b8286b84de95546d1121d0c305bbdc85851 (diff)
downloadcrawl-ref-d9dd888a10a3087d3ec5cf82364cfd6495abd3e4.tar.gz
crawl-ref-d9dd888a10a3087d3ec5cf82364cfd6495abd3e4.zip
* Fix database search crashing on pandemonium demons/player ghost.
* Make Xom say e.g. "gate" for the repel stair effect if there's only a gate nearby. * Weapons of vampiricism have no effect on summoned creatures, as is already the case for Vampire bites and the Vampiric Draining spell. * Make berserking monsters immune to fear. (The sanctuary still works.) * General clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9669 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index fe5610e65e..b5bc25dd1f 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -359,7 +359,7 @@ void stop_delay( bool stop_stair_travel )
bool butcher_swap_setup = false;
int butcher_swap_weapon = 0;
- for (unsigned int i = 1; i < you.delay_queue.size(); i++)
+ for (unsigned int i = 1; i < you.delay_queue.size(); ++i)
{
if (you.delay_queue[i].type == DELAY_BUTCHER
|| you.delay_queue[i].type == DELAY_BOTTLE_BLOOD
@@ -660,7 +660,7 @@ bool is_being_butchered(const item_def &item, bool just_first)
if (!you_are_delayed())
return (false);
- for (unsigned int i = 0; i < you.delay_queue.size(); i++)
+ for (unsigned int i = 0; i < you.delay_queue.size(); ++i)
{
if (you.delay_queue[i].type == DELAY_BUTCHER
|| you.delay_queue[i].type == DELAY_BOTTLE_BLOOD
@@ -707,7 +707,7 @@ int check_recital_audience()
{
bool found_monsters = false;
- for ( radius_iterator ri(you.pos(), 8); ri; ++ri )
+ for (radius_iterator ri(you.pos(), 8); ri; ++ri)
{
monsters* mons = monster_at(*ri);
if (mons == NULL)
@@ -1400,7 +1400,7 @@ static void _finish_delay(const delay_queue_item &delay)
break;
default:
- mpr( "You finish doing something." );
+ mpr("You finish doing something.");
break;
}
@@ -1444,7 +1444,7 @@ void armour_wear_effects(const int item_slot)
if (you.duration[DUR_ICY_ARMOUR] != 0)
{
- mpr( "Your icy armour melts away.", MSGCH_DURATION );
+ mpr("Your icy armour melts away.", MSGCH_DURATION);
you.redraw_armour_class = true;
you.duration[DUR_ICY_ARMOUR] = 0;
}