diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | 667acd0e312301ad613b6a71f843c51d2062aee6 (patch) | |
tree | 5e93eef312d1c8a049161f040859ed2d1a0be850 /src/spells1.cc | |
parent | 4b179786d73cde338e97503d036baea9015f655d (diff) |
Move d_info into GameEditData
Diffstat (limited to 'src/spells1.cc')
-rw-r--r-- | src/spells1.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/spells1.cc b/src/spells1.cc index eb3664cc..ab789a38 100644 --- a/src/spells1.cc +++ b/src/spells1.cc @@ -18,6 +18,7 @@ #include "files.hpp" #include "feature_flag.hpp" #include "feature_type.hpp" +#include "game.hpp" #include "gods.hpp" #include "melee2.hpp" #include "monster2.hpp" @@ -6905,6 +6906,8 @@ bool_ unsafe = FALSE; */ static bool_ project_p(int who, int r, int y, int x, int dam, int typ, int a_rad) { + auto const &d_info = game->edit_data.d_info; + int k = 0, do_move = 0, a = 0, b = 0, x1 = 0, y1 = 0; /* Hack -- assume obvious */ |