1
0
Fork 0
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:
Chris-plus-alphanumericgibberish 2015-09-04 03:10:09 -04:00
parent af1ceb4fdc
commit dbaf46cd28

View file

@ -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;