polymorphed quest leader
Duuuh. Of course adding objects already changed the editlevel. Anyway, here's the fix I was working on. It only matters in a very obscure situation. (Also, the quest leader still speaks no matter what he's polymorphed into.)
This commit is contained in:
@@ -845,6 +845,8 @@ register int mmflags;
|
||||
mtmp->m_id = flags.ident++;
|
||||
if (!mtmp->m_id) mtmp->m_id = flags.ident++; /* ident overflowed */
|
||||
set_mon_data(mtmp, ptr, 0);
|
||||
if (mtmp->data->msound == MS_LEADER)
|
||||
quest_status.leader_m_id = mtmp->m_id;
|
||||
mtmp->mxlth = xlth;
|
||||
mtmp->mnum = mndx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user