summaryrefslogtreecommitdiff
path: root/src/xtra2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:15 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:15 +0200
commit05cdb1a997cba7748f0089cffa0a5885ca0b2c43 (patch)
treee3b0b3bb636e1e099eafe784eaeffdb147348b81 /src/xtra2.cc
parent5eec61dd05577623c1d5b9eed3a22d1352dcd990 (diff)
Move wilderness structure into Game
Diffstat (limited to 'src/xtra2.cc')
-rw-r--r--src/xtra2.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xtra2.cc b/src/xtra2.cc
index 5e53d945..b5ad738a 100644
--- a/src/xtra2.cc
+++ b/src/xtra2.cc
@@ -17,6 +17,7 @@
#include "feature_flag.hpp"
#include "feature_type.hpp"
#include "files.hpp"
+#include "game.hpp"
#include "gods.hpp"
#include "hook_player_level_in.hpp"
#include "hook_monster_death_in.hpp"
@@ -4237,7 +4238,7 @@ static int target_set_aux(int y, int x, int mode, cptr info)
if (p_ptr->wild_mode && (feat == FEAT_TOWN))
{
- auto const &wilderness = *wilderness_ptr;
+ auto const &wilderness = game->wilderness;
auto const &wf = wf_info[wilderness(x, y).feat];
s3 = "";