couple of formatting bits
This commit is contained in:
+4
-2
@@ -1458,7 +1458,8 @@ throwit_return(boolean clear_thrownobj)
|
|||||||
}
|
}
|
||||||
|
|
||||||
staticfn void
|
staticfn void
|
||||||
swallowit(struct obj *obj){
|
swallowit(struct obj *obj)
|
||||||
|
{
|
||||||
if (obj != uball) {
|
if (obj != uball) {
|
||||||
(void) mpickobj(u.ustuck, obj); /* clears 'gt.thrownobj' */
|
(void) mpickobj(u.ustuck, obj); /* clears 'gt.thrownobj' */
|
||||||
throwit_return(FALSE);
|
throwit_return(FALSE);
|
||||||
@@ -1468,7 +1469,8 @@ swallowit(struct obj *obj){
|
|||||||
|
|
||||||
/* throw an object, NB: obj may be consumed in the process */
|
/* throw an object, NB: obj may be consumed in the process */
|
||||||
void
|
void
|
||||||
throwit(struct obj *obj,
|
throwit(
|
||||||
|
struct obj *obj,
|
||||||
long wep_mask, /* used to re-equip returning boomerang */
|
long wep_mask, /* used to re-equip returning boomerang */
|
||||||
boolean twoweap, /* used to restore twoweapon mode if
|
boolean twoweap, /* used to restore twoweapon mode if
|
||||||
* wielded weapon returns */
|
* wielded weapon returns */
|
||||||
|
|||||||
+2
-2
@@ -773,9 +773,9 @@ makeniche(int trap_type)
|
|||||||
dosdoor(xx, yy, aroom, SDOOR);
|
dosdoor(xx, yy, aroom, SDOOR);
|
||||||
} else {
|
} else {
|
||||||
rm->typ = CORR;
|
rm->typ = CORR;
|
||||||
if (rn2(7))
|
if (rn2(7)) {
|
||||||
dosdoor(xx, yy, aroom, rn2(5) ? SDOOR : DOOR);
|
dosdoor(xx, yy, aroom, rn2(5) ? SDOOR : DOOR);
|
||||||
else {
|
} else {
|
||||||
/* inaccessible niches occasionally have iron bars */
|
/* inaccessible niches occasionally have iron bars */
|
||||||
if (!rn2(5) && IS_WALL(levl[xx][yy].typ)) {
|
if (!rn2(5) && IS_WALL(levl[xx][yy].typ)) {
|
||||||
(void) set_levltyp(xx, yy, IRONBARS);
|
(void) set_levltyp(xx, yy, IRONBARS);
|
||||||
|
|||||||
Reference in New Issue
Block a user