1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-31 01:42:24 +01:00

BUGFIX: Angel names are malformed

This commit is contained in:
Chris-plus-alphanumericgibberish 2016-08-22 12:32:23 -04:00
parent 54819c4f1e
commit c9702e1a62

View file

@ -324,12 +324,10 @@ char *pname; /* caller-supplied output buffer */
/* use epri */
if (mon->mtame && mon->data == &mons[PM_ANGEL])
Strcat(pname, "guardian ");
// if (mon->data != &mons[PM_ALIGNED_PRIEST] &&
// mon->data != &mons[PM_HIGH_PRIEST] &&
// mon->data != &mons[PM_ELDER_PRIEST]) {
// Strcat(pname, what);
// Strcat(pname, " ");
// }
if (mon->data == &mons[PM_ANGEL]) {
Strcat(pname, what);
Strcat(pname, " ");
}
if (mon->data != &mons[PM_ANGEL]) {
if (!mon->ispriest && EPRI(mon)->renegade)
Strcat(pname, "renegade ");