summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-03 10:33:31 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-03 10:33:31 +0000
commit240d2022a003e137a8f32e7dd8985e8cb2871f8b (patch)
treefd5d5a5f66bef205f2c35d5666d7a7012b23a9b7 /crawl-ref/source/food.cc
parent1e6c29fcdad466fe9bbae6326ef19bcad8e73707 (diff)
downloadcrawl-ref-240d2022a003e137a8f32e7dd8985e8cb2871f8b.tar.gz
crawl-ref-240d2022a003e137a8f32e7dd8985e8cb2871f8b.zip
Fix summoned monsters spattering blood.
Fix menu colouring giving away unknown evil items. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5456 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index fe72ca1158..16e4271503 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -129,11 +129,10 @@ void set_hunger( int new_hunger_level, bool suppress_msg )
lessen_hunger( hunger_difference, suppress_msg );
} // end set_hunger()
-// more of a "weapon_switch back from butchering" function, switching
+// More of a "weapon_switch back from butchering" function, switching
// to a weapon is done using the wield_weapon code.
// special cases like staves of power or other special weps are taken
// care of by calling wield_effects() {gdl}
-
void weapon_switch( int targ )
{
if (targ == -1)
@@ -146,7 +145,7 @@ void weapon_switch( int targ )
you.inv[targ].name(DESC_INVENTORY).c_str());
}
- // unwield the old weapon and wield the new.
+ // Unwield the old weapon and wield the new.
// XXX This is a pretty dangerous hack; I don't like it.--GDL
//
// Well yeah, but that's because interacting with the wielding
@@ -157,7 +156,7 @@ void weapon_switch( int targ )
you.equip[EQ_WEAPON] = targ;
- // special checks: staves of power, etc
+ // Special checks: staves of power, etc.
if (targ != -1)
wield_effects( targ, false );