summaryrefslogtreecommitdiff
path: root/src/q_eol.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2010-01-08 22:42:05 +0100
committerBardur Arantsson <bardur@scientician.net>2010-01-08 23:46:24 +0100
commit39d29b8f4fd6ad249246aa1a718493dfa2ec0bdf (patch)
treeb79c14ac991a579fa6654928f4feb007dc97b99e /src/q_eol.c
parentf7eb880a91dc00f0531fe6a6ec795fe56ae5fc3f (diff)
Import fix from CVS: Properly mark quest monsters as such.
Diffstat (limited to 'src/q_eol.c')
-rw-r--r--src/q_eol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/q_eol.c b/src/q_eol.c
index ef46ef5d..4b66e8ad 100644
--- a/src/q_eol.c
+++ b/src/q_eol.c
@@ -64,6 +64,7 @@ bool quest_eol_gen_hook(char *fmt)
m_allow_special[test_monster_name("Eol, the Dark Elf")] = TRUE;
m_idx = place_monster_one(y, x, test_monster_name("Eol, the Dark Elf"), 0, FALSE, MSTATUS_ENEMY);
m_allow_special[test_monster_name("Eol, the Dark Elf")] = FALSE;
+ if (m_idx) m_list[m_idx].mflag |= MFLAG_QUEST;
}
if (magik(18))