summaryrefslogtreecommitdiff
path: root/src/wild.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/wild.c
parent9bbfe24fccd16a17c89f9222ded38aa5a220c4f6 (diff)
Refactor: Clean up process_dungeon_file()
Diffstat (limited to 'src/wild.c')
-rw-r--r--src/wild.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wild.c b/src/wild.c
index 07b96f9f..7a9d1c51 100644
--- a/src/wild.c
+++ b/src/wild.c
@@ -224,7 +224,7 @@ int generate_area(int y, int x, bool_ border, bool_ corner, bool_ refresh)
/* Initialize the town */
init_flags = INIT_CREATE_DUNGEON;
- process_dungeon_file(NULL, "t_info.txt", &ystart, &xstart, cur_hgt, cur_wid, TRUE);
+ process_dungeon_file("t_info.txt", &ystart, &xstart, cur_hgt, cur_wid, TRUE, FALSE);
}
else
{
@@ -350,7 +350,7 @@ void wilderness_gen(int refresh)
cave_type *c_ptr;
/* Init the wilderness */
- process_dungeon_file(NULL, "w_info.txt", &ystart, &xstart, cur_hgt, cur_wid, TRUE);
+ process_dungeon_file("w_info.txt", &ystart, &xstart, cur_hgt, cur_wid, TRUE, FALSE);
x = p_ptr->wilderness_x;
y = p_ptr->wilderness_y;
@@ -554,7 +554,7 @@ void wilderness_gen_small()
}
/* Init the wilderness */
- process_dungeon_file(NULL, "w_info.txt", &ystart, &xstart, cur_hgt, cur_wid, TRUE);
+ process_dungeon_file("w_info.txt", &ystart, &xstart, cur_hgt, cur_wid, TRUE, FALSE);
/* Fill the map */
for (i = 0; i < max_wild_x; i++)