summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd2.c8
-rw-r--r--src/defines.h1
-rw-r--r--src/util.pkg6
3 files changed, 3 insertions, 12 deletions
diff --git a/src/cmd2.c b/src/cmd2.c
index c38e874c..8c602db3 100644
--- a/src/cmd2.c
+++ b/src/cmd2.c
@@ -4703,14 +4703,12 @@ void do_cmd_sacrifice(void)
inc_stack_size(item, -1);
}
}
- else if (p_ptr->pgod == GOD_AULE)
+
+ GOD(GOD_AULE)
{
do_cmd_sacrifice_aule();
}
- else
- {
- process_hooks(HOOK_SACRIFICE_GOD, "()", "");
- }
+
}
}
}
diff --git a/src/defines.h b/src/defines.h
index 3fc34864..2375c852 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -4541,7 +4541,6 @@
#define HOOK_LOAD_END 61
#define HOOK_RECALL 62
#define HOOK_FOLLOW_GOD 63
-#define HOOK_SACRIFICE_GOD 64
#define HOOK_BODY_PARTS 65
#define HOOK_APPLY_MAGIC 66
#define HOOK_PLAYER_EXP 67
diff --git a/src/util.pkg b/src/util.pkg
index de84ac11..f9c94966 100644
--- a/src/util.pkg
+++ b/src/util.pkg
@@ -724,12 +724,6 @@ typedef unsigned int u32b;
*/
#define HOOK_FOLLOW_GOD 63
-/** @def HOOK_SACRIFICE_GOD
- * @brief Player sacrifices to a god.
- * @note (see file cmd2.c)
- */
-#define HOOK_SACRIFICE_GOD 64
-
/** @def HOOK_BODY_PARTS
* @brief Calculate which body parts the player has.
* @note (see file xtra1.c)