diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-10 21:02:45 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-10 21:02:45 +0200 |
commit | 7d12fa73c521994841f3339a363bc5748ea9cbc8 (patch) | |
tree | 77e615195c1e1199a2593ad47d3accb9844ebc56 | |
parent | 2a7627098fd014fc7b835e67cf37a3b615dbf5c4 (diff) |
Lua: Gods: Remove now-unused HOOK_SACRIFICE_GOD
-rw-r--r-- | src/cmd2.c | 8 | ||||
-rw-r--r-- | src/defines.h | 1 | ||||
-rw-r--r-- | src/util.pkg | 6 |
3 files changed, 3 insertions, 12 deletions
@@ -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) |