summaryrefslogtreecommitdiff
path: root/src/wild.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wild.cc')
-rw-r--r--src/wild.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wild.cc b/src/wild.cc
index 101e06f5..fd9ed6fd 100644
--- a/src/wild.cc
+++ b/src/wild.cc
@@ -376,6 +376,8 @@ namespace {
*/
void wilderness_gen()
{
+ auto const &f_info = game->edit_data.f_info;
+
int i, y, x, hack_floor;
bool_ daytime;
int xstart = 0;
@@ -942,6 +944,8 @@ static std::vector<std::size_t> get_shops()
/* Generate town borders */
static void set_border(int y, int x)
{
+ auto const &f_info = game->edit_data.f_info;
+
cave_type *c_ptr;
/* Paranoia */