diff options
-rw-r--r-- | crawl-ref/source/output.cc | 2 | ||||
-rw-r--r-- | 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. |