summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-08 19:26:19 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-08 19:26:19 +0000
commitccf245885f0581c4b5f7ebe5248cf5a48b30349e (patch)
tree8884a1fc6517451f574bac6a3905fa49f738f101 /crawl-ref/source/item_use.cc
parenta753bdc6027688c12ad6c27a6952947713c8c7c0 (diff)
downloadcrawl-ref-ccf245885f0581c4b5f7ebe5248cf5a48b30349e.tar.gz
crawl-ref-ccf245885f0581c4b5f7ebe5248cf5a48b30349e.zip
Applying dolorous' latest patch (1806451), mostly
correcting typos in the comments and changing Xom stimulation from 256 to 255 (as the function apparently cannot handle that). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2384 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index ed073cc415..d3fa865f49 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -601,7 +601,7 @@ void wield_effects(int item_wield_2, bool showMsgs)
xom_is_stimulated(128);
miscast_effect( SPTYP_TRANSLOCATION, 9, 90, 100,
was_known ? "distortion wield" :
- "uknowning distortion wield");
+ "unknowing distortion wield");
break;
case SPWPN_SINGING_SWORD:
@@ -2928,7 +2928,7 @@ void zap_wand(void)
{
// Xom loves it when you use a Wand of Random Effects and
// there is a dangerous monster nearby...
- xom_is_stimulated(256);
+ xom_is_stimulated(255);
}
}
@@ -2978,7 +2978,7 @@ void zap_wand(void)
{
// Xom loves it when you use an unknown wand and there is a
// dangerous monster nearby...
- xom_is_stimulated(256);
+ xom_is_stimulated(255);
}
you.turn_is_over = true;
@@ -3100,7 +3100,7 @@ void drink(void)
{
// Xom loves it when you drink an unknown potion and there is
// a dangerous monster nearby...
- xom_is_stimulated(256);
+ xom_is_stimulated(255);
}
dec_inv_item_quantity( item_slot, 1 );
@@ -3912,7 +3912,7 @@ void read_scroll(void)
{
// Xom loves it when you read an unknown scroll and there is
// a dangerous monster nearby...
- xom_is_stimulated(256);
+ xom_is_stimulated(255);
}
} // end read_scroll()
@@ -4001,7 +4001,7 @@ void use_randart(const item_def &item)
{
// Xom loves it when you use an unknown random artefact and
// there is a dangerous monster nearby...
- xom_is_stimulated(256);
+ xom_is_stimulated(255);
}
}