summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-24 20:33:11 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-24 20:33:11 +0000
commit5dc0f00b8988c0e11bc13e47b0848cb9c2f64e00 (patch)
tree0dc236485f3ad99194217a26626e0a8368beccab
parent4e947e88081bbac6c20b9c7dd32fd8c8025e1dca (diff)
downloadcrawl-ref-5dc0f00b8988c0e11bc13e47b0848cb9c2f64e00.tar.gz
crawl-ref-5dc0f00b8988c0e11bc13e47b0848cb9c2f64e00.zip
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9200 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/output.cc2
-rw-r--r--crawl-ref/source/player.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 9e2a1c8f25..d80d3c4c96 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -2625,7 +2625,7 @@ std::string _status_mut_abilities()
mutations.push_back("water walking");
std::string current;
- for (unsigned i = 0; i < NUM_MUTATIONS; i++)
+ for (unsigned i = 0; i < NUM_MUTATIONS; ++i)
{
int level = player_mutation_level((mutation_type) i);
if (!level)
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 2c7ab8efc4..43c22b9096 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -1919,12 +1919,12 @@ int player_prot_life(bool calc_unid, bool temp, bool items)
// speed, not a movement cost, so higher is better.
int player_ghost_base_movement_speed()
{
- int speed = you.species == SP_NAGA? 8 : 10;
+ int speed = you.species == SP_NAGA ? 8 : 10;
if (player_mutation_level(MUT_FAST))
speed += player_mutation_level(MUT_FAST) + 1;
- if (player_equip_ego_type( EQ_BOOTS, SPARM_RUNNING ))
+ if (player_equip_ego_type(EQ_BOOTS, SPARM_RUNNING))
speed += 2;
// Cap speeds.