summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-14 21:56:23 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-14 21:56:23 +0000
commit30a315552f6bd74636cbc46bbaacdf6d6c46415b (patch)
treea4ddb23c615a98d67cffb97e7cc735e8d969c31a /crawl-ref/source/ouch.cc
parentfdb65ed342919c016eea9b14523cf2b50e48f668 (diff)
downloadcrawl-ref-30a315552f6bd74636cbc46bbaacdf6d6c46415b.tar.gz
crawl-ref-30a315552f6bd74636cbc46bbaacdf6d6c46415b.zip
Add more comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5045 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc15
1 files changed, 8 insertions, 7 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 3558234a13..5c35128170 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -84,7 +84,7 @@ static void end_game( scorefile_entry &se );
static void item_corrode( int itco );
-/* NOTE: DOES NOT check for hellfire!!! */
+// NOTE: DOES NOT check for hellfire!!!
int check_your_resists(int hurted, beam_type flavour)
{
int resist;
@@ -254,7 +254,7 @@ int check_your_resists(int hurted, beam_type flavour)
default:
break;
- } /* end switch */
+ } // end switch
return (hurted);
} // end check_your_resists()
@@ -601,13 +601,14 @@ void expose_items_to_element(beam_type flavour, int x, int y)
}
}
-// Handle side-effects for exposure to element other than damage.
-// This function exists because some code calculates its own damage
-// instead of using check_resists and we want to isolate all the special
+// Handle side-effects for exposure to element other than damage. This
+// function exists because some code calculates its own damage isntead
+// of using check_your_resists() and we want to isolate all the special
// code they keep having to do... namely condensation shield checks,
-// you really can't expect this function to even be called for much else.
+// you really can't expect this function to even be called for much
+// else.
//
-// This function now calls _expose_invent_to_element if strength > 0.
+// This function now calls _expose_invent_to_element() if strength > 0.
//
// XXX: this function is far from perfect and a work in progress.
void expose_player_to_element(beam_type flavour, int strength)