summaryrefslogtreecommitdiff
path: root/src/q_god.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/q_god.cc')
-rw-r--r--src/q_god.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/q_god.cc b/src/q_god.cc
index cfd5b257..1cb4c0f5 100644
--- a/src/q_god.cc
+++ b/src/q_god.cc
@@ -1020,6 +1020,8 @@ static bool_ quest_god_player_level_hook(void *, void *in_, void *)
static bool_ quest_god_get_hook(void *, void *in_, void *)
{
+ auto &s_info = game->s_info;
+
hook_get_in *in = static_cast<hook_get_in *>(in_);
s32b item = -in->o_idx; /* Note the negation */