From 5dc0f00b8988c0e11bc13e47b0848cb9c2f64e00 Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 24 Feb 2009 20:33:11 +0000 Subject: Add more minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9200 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/output.cc | 2 +- crawl-ref/source/player.cc | 4 ++-- 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. -- cgit v1.2.3-54-g00ecf