summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/sprint.cc
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2011-10-17 22:37:36 -0400
committerSamuel Bronson <naesten@gmail.com>2011-10-17 22:37:36 -0400
commitcda958f6a7338257524015a6c712a9fded4717ac (patch)
treed68ce7a4ac0006bfbbc33723c3b9c0012d78bd2a /crawl-ref/source/sprint.cc
parent5d73bfa39c70944af694ea9d2eb38cc866ecc2c8 (diff)
downloadcrawl-ref-cda958f6a7338257524015a6c712a9fded4717ac.tar.gz
crawl-ref-cda958f6a7338257524015a6c712a9fded4717ac.zip
Replace {get,set,}_{sprint,tutorial}_map() with crawl_state.map.
Diffstat (limited to 'crawl-ref/source/sprint.cc')
-rw-r--r--crawl-ref/source/sprint.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/crawl-ref/source/sprint.cc b/crawl-ref/source/sprint.cc
index 5a0ca1f7e7..6d0be93eb8 100644
--- a/crawl-ref/source/sprint.cc
+++ b/crawl-ref/source/sprint.cc
@@ -43,20 +43,3 @@ bool sprint_veto_random_abyss_monster(monster_type type)
{
return random2(20) > mons_class_hit_dice(type);
}
-
-// We could save this in crawl_state instead.
-// Or choose_game() could save *ng to crawl_state
-// entirely, though that'd be redundant with
-// you.your_name, you.species, crawl_state.type, ...
-
-static std::string _sprint_map;
-
-std::string get_sprint_map()
-{
- return _sprint_map;
-}
-
-void set_sprint_map(const std::string& map)
-{
- _sprint_map = map;
-}