summaryrefslogtreecommitdiff
path: root/src/store.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2011-02-19 19:16:00 +0100
committerBardur Arantsson <bardur@scientician.net>2011-02-19 19:44:00 +0100
commiteaee803a78f92d313d16a6f054c447754a052137 (patch)
tree69e47ebca152f0b8deac3f1d13072019122e0525 /src/store.c
parent56d359f285b8c73a9fb752f6fb4cd00ecaecba6e (diff)
ALLOW_{EASY_OPEN,EASY_DISARM,REPEAT} code is no longer conditional.
Diffstat (limited to 'src/store.c')
-rw-r--r--src/store.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/store.c b/src/store.c
index c35a33a2..0f4fc491 100644
--- a/src/store.c
+++ b/src/store.c
@@ -1664,8 +1664,6 @@ static int get_stock(int *com_val, cptr pmt, int i, int j)
char out_val[160];
-#ifdef ALLOW_REPEAT /* TNB */
-
/* Get the item index */
if (repeat_pull(com_val))
{
@@ -1678,8 +1676,6 @@ static int get_stock(int *com_val, cptr pmt, int i, int j)
}
}
-#endif /* ALLOW_REPEAT -- TNB */
-
/* Paranoia XXX XXX XXX */
msg_print(NULL);
@@ -1719,12 +1715,8 @@ static int get_stock(int *com_val, cptr pmt, int i, int j)
/* Cancel */
if (command == ESCAPE) return (FALSE);
-#ifdef ALLOW_REPEAT /* TNB */
-
repeat_push(*com_val);
-#endif /* ALLOW_REPEAT -- TNB */
-
/* Success */
return (TRUE);
}
@@ -3363,13 +3355,9 @@ static bool store_process_command(void)
store_action_type *ba_ptr;
bool recreate = FALSE;
-#ifdef ALLOW_REPEAT /* TNB */
-
/* Handle repeating the last command */
repeat_check();
-#endif /* ALLOW_REPEAT -- TNB */
-
for (i = 0; i < 6; i++)
{
ba_ptr = &ba_info[st_info[st_ptr->st_idx].actions[i]];