mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-31 18:02:26 +01:00
Fix shopkeeper-out-of-shop crash bug
This commit is contained in:
parent
af1ceb4fdc
commit
dbaf46cd28
1 changed files with 1 additions and 0 deletions
|
@ -1750,6 +1750,7 @@ shk_other_services()
|
|||
|
||||
/* Init the shopkeeper */
|
||||
shkp = shop_keeper(*u.ushops);
|
||||
if(!shkp) return; //'keeper is out of his shop
|
||||
|
||||
seenSeals = countCloseSigns(shkp);
|
||||
if(seenSeals && strcmp(shkname(shkp), "Izchak") == 0) seenSeals = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue