summaryrefslogtreecommitdiff
path: root/src/cmd6.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-06 11:10:49 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 15:28:26 +0200
commit8ffbaea87b5ca17e7baa77cf17986a5b9dfc585e (patch)
tree7c3317e8d258e9f9b1b3c078a6238875c37921a4 /src/cmd6.c
parent92e717a03262c95983d7a6bcaaa7da4923ce850f (diff)
Lua: Remove HOOK_QUAFF completely
Diffstat (limited to 'src/cmd6.c')
-rw-r--r--src/cmd6.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cmd6.c b/src/cmd6.c
index b70654a9..48d56125 100644
--- a/src/cmd6.c
+++ b/src/cmd6.c
@@ -2495,14 +2495,9 @@ void do_cmd_quaff_potion(void)
msg_print("Your demon breath spoils the potion!");
ident = FALSE;
}
-
- /* Analyze the potion */
- else if (process_hooks_ret(HOOK_QUAFF, "d", "(O)", o_ptr))
- {
- ident = process_hooks_return[0].num;
- }
else
{
+ /* Normal potion handling */
ident = quaff_potion(o_ptr->tval, o_ptr->sval, o_ptr->pval, o_ptr->pval2);
}