diff --git a/src/dothrow.c b/src/dothrow.c index fbc507c3c..df019f6e4 100644 --- a/src/dothrow.c +++ b/src/dothrow.c @@ -1458,7 +1458,8 @@ throwit_return(boolean clear_thrownobj) } staticfn void -swallowit(struct obj *obj){ +swallowit(struct obj *obj) +{ if (obj != uball) { (void) mpickobj(u.ustuck, obj); /* clears 'gt.thrownobj' */ throwit_return(FALSE); @@ -1468,7 +1469,8 @@ swallowit(struct obj *obj){ /* throw an object, NB: obj may be consumed in the process */ void -throwit(struct obj *obj, +throwit( + struct obj *obj, long wep_mask, /* used to re-equip returning boomerang */ boolean twoweap, /* used to restore twoweapon mode if * wielded weapon returns */ diff --git a/src/mklev.c b/src/mklev.c index d0b30967a..bab79e46d 100644 --- a/src/mklev.c +++ b/src/mklev.c @@ -773,9 +773,9 @@ makeniche(int trap_type) dosdoor(xx, yy, aroom, SDOOR); } else { rm->typ = CORR; - if (rn2(7)) + if (rn2(7)) { dosdoor(xx, yy, aroom, rn2(5) ? SDOOR : DOOR); - else { + } else { /* inaccessible niches occasionally have iron bars */ if (!rn2(5) && IS_WALL(levl[xx][yy].typ)) { (void) set_levltyp(xx, yy, IRONBARS);