priest/minion bits (trunk only)
Cleanup up a couple of priest and minion allocation/conversion bits. Also, restrict minion naming so that "guardian <foo>" is only applied when <foo> is an Angel. (That restores old behavior from before a change I made last October; it prevents the guardian Angel from being recognized while hallucinating. It probably affects slash'em too, where they have tame minions besides the astral level's guardian Angel.)
This commit is contained in:
@@ -138,12 +138,11 @@ boolean talk;
|
||||
if (mnum == NON_PM) {
|
||||
mon = 0;
|
||||
} else if (mnum == PM_ANGEL) {
|
||||
mon = makemon(&mons[mnum], u.ux, u.uy, MM_EPRI|MM_EMIN);
|
||||
mon = makemon(&mons[mnum], u.ux, u.uy, MM_EMIN);
|
||||
if (mon) {
|
||||
mon->isminion = 1;
|
||||
EMIN(mon)->min_align = alignment;
|
||||
EMIN(mon)->renegade = FALSE;
|
||||
EPRI(mon)->shralign = alignment;
|
||||
}
|
||||
} else if (mnum != PM_SHOPKEEPER && mnum != PM_GUARD &&
|
||||
mnum != PM_ALIGNED_PRIEST && mnum != PM_HIGH_PRIEST) {
|
||||
|
||||
Reference in New Issue
Block a user