diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:15 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:15 +0200 |
commit | 05cdb1a997cba7748f0089cffa0a5885ca0b2c43 (patch) | |
tree | e3b0b3bb636e1e099eafe784eaeffdb147348b81 /src/q_god.cc | |
parent | 5eec61dd05577623c1d5b9eed3a22d1352dcd990 (diff) |
Move wilderness structure into Game
Diffstat (limited to 'src/q_god.cc')
-rw-r--r-- | src/q_god.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/q_god.cc b/src/q_god.cc index fc8a89f0..f5e182cc 100644 --- a/src/q_god.cc +++ b/src/q_god.cc @@ -5,6 +5,7 @@ #include "dungeon_info_type.hpp" #include "feature_flag.hpp" #include "feature_type.hpp" +#include "game.hpp" #include "hook_chardump_in.hpp" #include "hook_get_in.hpp" #include "hook_enter_dungeon_in.hpp" @@ -292,7 +293,7 @@ std::string quest_god_describe() static void quest_god_place_rand_dung() { - auto &wilderness = *wilderness_ptr; + auto &wilderness = game->wilderness; int x = -1, y = -1, tries; |