summaryrefslogtreecommitdiff
path: root/src/store.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-21 15:56:16 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:56 +0100
commit43972201b3a0e625db270e1cb48b7ff0a29a3c7a (patch)
tree8bcd50ed478c51a44986d78037286f032b7a69a9 /src/store.cc
parentcd8b290134a2528a12fa775d69728ca494b690ac (diff)
Remove unused HOOK_STORE_STOCK
Diffstat (limited to 'src/store.cc')
-rw-r--r--src/store.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/store.cc b/src/store.cc
index ef2a97a1..f903a8fc 100644
--- a/src/store.cc
+++ b/src/store.cc
@@ -1215,16 +1215,9 @@ static void store_create(void)
{
obj_all_done = FALSE;
- /* Lua can define things to buy */
- if (process_hooks_ret(HOOK_STORE_STOCK, "O", "(d,s,d)", st_ptr->st_idx, st_info[st_ptr->st_idx].name + st_name, return_level()))
- {
- obj_all_done = TRUE;
- q_ptr = process_hooks_return[0].o_ptr;
- }
-
/* Magic Shop */
- else if (streq(st_info[st_ptr->st_idx].name + st_name, STORE_MAGIC) &&
- magik(20))
+ if (streq(st_info[st_ptr->st_idx].name + st_name, STORE_MAGIC) &&
+ magik(20))
{
s16b spell;