diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-04-06 11:10:49 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-04-07 15:28:26 +0200 |
commit | 8ffbaea87b5ca17e7baa77cf17986a5b9dfc585e (patch) | |
tree | 7c3317e8d258e9f9b1b3c078a6238875c37921a4 /src/cmd6.c | |
parent | 92e717a03262c95983d7a6bcaaa7da4923ce850f (diff) |
Lua: Remove HOOK_QUAFF completely
Diffstat (limited to 'src/cmd6.c')
-rw-r--r-- | src/cmd6.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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); } |