diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-06-29 12:54:16 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-06-29 13:09:23 -0400 |
commit | 3847a01ed54d6b11f8bf87d62b451753e228bb7e (patch) | |
tree | 4bd8724d8954e8af82c6937d23edbbe35b11962f /crawl-ref/source/godblessing.cc | |
parent | 1d1858645761d4d7cd964b2f98a9e34d7c12bfe1 (diff) | |
download | crawl-ref-3847a01ed54d6b11f8bf87d62b451753e228bb7e.tar.gz crawl-ref-3847a01ed54d6b11f8bf87d62b451753e228bb7e.zip |
Correct some Doxygen comments in godblessing.cc
There were several cases were the @param did not match the actual
parameters, this has been fixed, using whatever name seemed most
appropriate/fit in 80 chars. It would be good if somebody could go
through and make the variable names consistent.
Diffstat (limited to 'crawl-ref/source/godblessing.cc')
-rw-r--r-- | crawl-ref/source/godblessing.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/godblessing.cc b/crawl-ref/source/godblessing.cc index d18a7737b8..254e976db8 100644 --- a/crawl-ref/source/godblessing.cc +++ b/crawl-ref/source/godblessing.cc @@ -333,7 +333,7 @@ static void _gift_armour_to_orc(monster* orc, bool shield = false) /** * Attempt to bless a follower's armour. * - * @param[in] follower The follower whose armour should be blessed. + * @param[in] mon The follower whose armour should be blessed. * @return The type of blessing; may be empty. */ static string _beogh_bless_armour(monster* mon) @@ -505,11 +505,11 @@ static string _tso_bless_weapon(monster* mon) * @param[in] follower The follower whose armour should be blessed. * @return The type of blessing; may be empty. */ -static string _tso_bless_armour(monster* mon) +static string _tso_bless_armour(monster* follower) { // Pick either a monster's armour or its shield. - const int armour = mon->inv[MSLOT_ARMOUR]; - const int shield = mon->inv[MSLOT_SHIELD]; + const int armour = follower->inv[MSLOT_ARMOUR]; + const int shield = follower->inv[MSLOT_SHIELD]; if (armour == NON_ITEM && shield == NON_ITEM) { dprf("Can't bless the armour of a naked follower!"); @@ -673,7 +673,7 @@ static string _bless_with_healing(monster* follower) * * @param[in] follower The follower being blessed. * @param god The god doing the blessing. - * @param message The blessing being delivered. + * @param blessing The blessing being delivered. */ static void _display_god_blessing(monster* follower, god_type god, string blessing) |