diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index f0c4d437c7..d986ff62be 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -1876,28 +1876,6 @@ int player_prot_life(bool calc_unid, bool temp, bool items) return (pl); } -// Returns the movement speed for a player ghost. Note that this is a real -// speed, not a movement cost, so higher is better. -int player_ghost_base_movement_speed() -{ - 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)) - speed += 2; - - // Cap speeds. - if (speed < 6) - speed = 6; - - if (speed > 13) - speed = 13; - - return (speed); -} - // New player movement speed system... allows for a bit more that // "player runs fast" and "player walks slow" in that the speed is // actually calculated (allowing for centaurs to get a bonus from |