summaryrefslogtreecommitdiff
path: root/src/generate.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-02 21:53:11 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-02 22:08:27 +0200
commit6eb6d9b8aa702f333d480158265cc0c3a469a0c9 (patch)
treea8d164a36e347a73413997600d2d3e866de5a3b8 /src/generate.c
parent9bbfe24fccd16a17c89f9222ded38aa5a220c4f6 (diff)
Refactor: Clean up process_dungeon_file()
Diffstat (limited to 'src/generate.c')
-rw-r--r--src/generate.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/generate.c b/src/generate.c
index ab74dffe..6d83c321 100644
--- a/src/generate.c
+++ b/src/generate.c
@@ -8291,9 +8291,7 @@ bool_ build_special_level(void)
get_mon_num_prep();
init_flags = INIT_CREATE_DUNGEON | INIT_POSITION;
- process_dungeon_file_full = TRUE;
- process_dungeon_file(NULL, buf, &ystart, &xstart, cur_hgt, cur_wid, TRUE);
- process_dungeon_file_full = FALSE;
+ process_dungeon_file(buf, &ystart, &xstart, cur_hgt, cur_wid, TRUE, TRUE);
special_lvl[level][dungeon_type] = REGEN_HACK;
generate_special_feeling = TRUE;