summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-29 13:20:03 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-29 13:20:03 +0000
commit89e855d94cdcabe93dc8c37a241ccb4afa543131 (patch)
tree230ca13a3d08d1346306c70c06a6106ac248cf08 /crawl-ref/source/maps.cc
parentce5e8ec8aea8e17f7736a7823ad2e79ed0027013 (diff)
downloadcrawl-ref-89e855d94cdcabe93dc8c37a241ccb4afa543131.tar.gz
crawl-ref-89e855d94cdcabe93dc8c37a241ccb4afa543131.zip
Removed obsolete "levels" option. des files to load should be specified in loadmaps.lua and nowhere else.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2663 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r--crawl-ref/source/maps.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc
index 02b45e4744..912780d62d 100644
--- a/crawl-ref/source/maps.cc
+++ b/crawl-ref/source/maps.cc
@@ -671,15 +671,6 @@ void read_maps()
{
if (dlua.execfile("clua/loadmaps.lua", true, true))
end(1, false, "Lua error: %s", dlua.error.c_str());
-
- for (int i = 0, size = Options.extra_levels.size(); i < size; ++i)
- {
- lc_desfile = datafile_path( Options.extra_levels[i] + ".des", false );
- if (lc_desfile.empty())
- continue;
-
- parse_maps( lc_desfile );
- }
// Clean up cached environments.
dlua.callfn("dgn_flush_map_environments", 0, 0);