summaryrefslogtreecommitdiff
path: root/src/wizard2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-09 15:41:46 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-09 16:14:37 +0200
commit93e3dd939f24965125641ca4a08135a6e723c1a3 (patch)
treeca5d28be0937901011ea814db8e0e5d6e55ce2fe /src/wizard2.c
parentb92fe01dfebbfed138d0cec1ac23c608be881dfc (diff)
Lua: Remove quests.lua and remove unnecessary dynamism for quests
Diffstat (limited to 'src/wizard2.c')
-rw-r--r--src/wizard2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wizard2.c b/src/wizard2.c
index 5e1e38d1..6f691171 100644
--- a/src/wizard2.c
+++ b/src/wizard2.c
@@ -1795,7 +1795,7 @@ void do_cmd_debug(void)
case 'q':
{
/* if (quest[command_arg].status == QUEST_STATUS_UNTAKEN)*/
- if ((command_arg >= 1) && (command_arg < MAX_Q_IDX_INIT) && (command_arg != QUEST_RANDOM))
+ if ((command_arg >= 1) && (command_arg < MAX_Q_IDX) && (command_arg != QUEST_RANDOM))
{
quest[command_arg].status = QUEST_STATUS_TAKEN;
*(quest[command_arg].plot) = command_arg;