mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-31 09:52:25 +01:00
Fix crash from dnh bug in msummon code.
This commit is contained in:
parent
56b425fc9d
commit
25b6707cd8
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ struct permonst * ptr; /* summon as though you were <X> */
|
|||
if (mon && mon->mfaction){
|
||||
set_faction(mtmp, mon->mfaction);
|
||||
}
|
||||
if(!is_lord(mtmp->data) && !is_prince(mtmp->data)){
|
||||
if(mon && !is_lord(mtmp->data) && !is_prince(mtmp->data)){
|
||||
mtmp->mpeaceful = mon->mpeaceful;
|
||||
set_malign(mtmp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue