diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-30 20:18:20 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-30 20:18:20 -0500 |
commit | 48edd0b868b31567d5bd1caa3531a610916d3a89 (patch) | |
tree | 8e4453a4de98156c99110b117afa66a1a0c6bec5 /crawl-ref | |
parent | 38579f4d006b2249717eafe443262b84e77c7ebd (diff) | |
download | crawl-ref-48edd0b868b31567d5bd1caa3531a610916d3a89.tar.gz crawl-ref-48edd0b868b31567d5bd1caa3531a610916d3a89.zip |
Add spacing fixes.
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/debug.cc | 8 | ||||
-rw-r--r-- | crawl-ref/source/monplace.h | 8 | ||||
-rw-r--r-- | crawl-ref/source/religion.cc | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc index b855513ea0..48b547cc04 100644 --- a/crawl-ref/source/debug.cc +++ b/crawl-ref/source/debug.cc @@ -4068,11 +4068,11 @@ static skill_type _fsim_melee_skill(const item_def *item) static void _fsim_set_melee_skill(int skill, const item_def *item) { you.skills[_fsim_melee_skill(item)] = skill; - you.skills[SK_FIGHTING] = skill * 15 / 27; - you.skills[SK_ARMOUR] = skill * 15 / 27; + you.skills[SK_FIGHTING] = skill * 15 / 27; + you.skills[SK_ARMOUR] = skill * 15 / 27; you.skills[SK_SHIELDS] = skill; - for(int i=0; i<15; i++) - you.skills[SK_SPELLCASTING+i] = skill; + for (int i = 0; i < 15; ++i) + you.skills[SK_SPELLCASTING + i] = skill; } static void _fsim_set_ranged_skill(int skill, const item_def *item) diff --git a/crawl-ref/source/monplace.h b/crawl-ref/source/monplace.h index 709d147c57..b8be4cfbfa 100644 --- a/crawl-ref/source/monplace.h +++ b/crawl-ref/source/monplace.h @@ -147,13 +147,13 @@ struct mgen_data // Generation flags from mgen_flag_type. unsigned flags; - // What god the monster worships, if any. Used for monsters that are god - // gifts, to indicate which god sent them, and by priest monsters, to - // indicate whose priest they are. + // What god the monster worships, if any. Used for monsters that + // are god gifts, to indicate which god sent them, and by priest + // monsters, to indicate whose priest they are. god_type god; // The number of hydra heads, manticore attack volleys, or merged - // slime creatures. Note: in older version this field was used for + // slime creatures. Note: in older versions this field was used for // both this and for base_type. int number; diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 2b78310e15..dd98b3ee1e 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -5025,7 +5025,7 @@ static bool _feawn_retribution() unsigned i = radius_points[0].size() - target_count; - for(; i < radius_points[0].size(); ++i) + for (; i < radius_points[0].size(); ++i) { temp.pos = radius_points[0].at(i); temp.cls = coinflip() ? |