build fix
This commit is contained in:
@@ -1566,13 +1566,15 @@ static coord repo_location; /* repossession context */
|
|||||||
/* routine called after dying (or quitting) */
|
/* routine called after dying (or quitting) */
|
||||||
boolean
|
boolean
|
||||||
paybill(croaked)
|
paybill(croaked)
|
||||||
boolean croaked;
|
int croaked; /* -1: escaped dungeon; 0: quit; 1: died */
|
||||||
{
|
{
|
||||||
register struct monst *mtmp, *mtmp2, *resident= (struct monst *)0;
|
register struct monst *mtmp, *mtmp2, *resident= (struct monst *)0;
|
||||||
register boolean taken = FALSE;
|
register boolean taken = FALSE;
|
||||||
register int numsk = 0;
|
register int numsk = 0;
|
||||||
|
|
||||||
/* if we escaped from the dungeon, shopkeepers can't reach us */
|
/* if we escaped from the dungeon, shopkeepers can't reach us;
|
||||||
|
shops don't occur on level 1, but this could happen if hero
|
||||||
|
level teleports out of the dungeon and manages not to die */
|
||||||
if (croaked < 0) return FALSE;
|
if (croaked < 0) return FALSE;
|
||||||
|
|
||||||
/* this is where inventory will end up if any shk takes it */
|
/* this is where inventory will end up if any shk takes it */
|
||||||
|
|||||||
Reference in New Issue
Block a user