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:49:38 +0200 |
commit | 1bbed63b66c0f69809e698576a51501150f06bba (patch) | |
tree | f458361c0c2e7dac2502b1aace63d83d5dbd15b4 /src/cmd7.cc | |
parent | b9fca0267b1d6a32d57e1fb4387f52c19d1c3fa6 (diff) |
Move k_info into GameEditData
Diffstat (limited to 'src/cmd7.cc')
-rw-r--r-- | src/cmd7.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd7.cc b/src/cmd7.cc index db496995..85da374c 100644 --- a/src/cmd7.cc +++ b/src/cmd7.cc @@ -110,6 +110,8 @@ void mindcraft_info(char *p, int power) */ void mimic_info(char *p, int power) { + auto const &k_info = game->edit_data.k_info; + int plev = get_skill(SKILL_MIMICRY); object_type *o_ptr = &p_ptr->inventory[INVEN_OUTER]; @@ -761,6 +763,8 @@ static int get_mimic_chance(int mimic) void do_cmd_mimic_lore() { + auto const &k_info = game->edit_data.k_info; + int fail; object_type *o_ptr; |