Skip to content

Commit dc9b3d5

Browse files
committed
Fix: Convicts felt guilty when encountering the guard from a gold vault.
1 parent 8e3ac53 commit dc9b3d5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/evilhack-changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -3376,4 +3376,5 @@ The following changes to date are:
33763376
- Add object menu glyphs to inventory in curses mode
33773377
- Fix: names of new ring types when type is known
33783378
- Proper encyclopedia entries/lookup for the artifact rings
3379+
- Fix: Convicts felt guilty when encountering the guard from a gold vault
33793380

src/mon.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -4818,7 +4818,8 @@ boolean via_attack;
48184818
adjalign(2);
48194819
}
48204820
} else {
4821-
if (u.ualign.type != A_NONE) { /* Infidels are supposed to be bad */
4821+
/* Infidels and Convicts don't feel guilt from this */
4822+
if (!(u.ualign.type == A_NONE || Role_if(PM_CONVICT))) {
48224823
if (canspotmon(mtmp))
48234824
You_feel("guilty.");
48244825
else

0 commit comments

Comments
 (0)