comment typos
This commit is contained in:
@@ -4775,7 +4775,7 @@ tool_being_used(struct obj *obj)
|
|||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* [Should this also include lit potions of oil? They're not tools
|
* [Should this also include lit potions of oil? They're not tools
|
||||||
* but they are "in use" without being noticeable via obj->oworkmask.]
|
* but they are "in use" without being noticeable via obj->owornmask.]
|
||||||
*/
|
*/
|
||||||
if ((obj->owornmask & (W_TOOL | W_SADDLE)) != 0L)
|
if ((obj->owornmask & (W_TOOL | W_SADDLE)) != 0L)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
@@ -546,7 +546,7 @@ ice_descr(coordxy x, coordxy y, char *outbuf)
|
|||||||
int r = (u.xray_range > 2) ? u.xray_range : 2,
|
int r = (u.xray_range > 2) ? u.xray_range : 2,
|
||||||
neardist = (r * r) * 2 - r; /* same as r*r + r*(r-1) */
|
neardist = (r * r) * 2 - r; /* same as r*r + r*(r-1) */
|
||||||
|
|
||||||
iflags.ice_rating = -1; /* secondary output, for ' mention_decor' */
|
iflags.ice_rating = -1; /* secondary output, for 'mention_decor' */
|
||||||
if (levl[x][y].typ != ICE) {
|
if (levl[x][y].typ != ICE) {
|
||||||
Sprintf(outbuf, "[ice:%d?]", (int) levl[x][y].typ);
|
Sprintf(outbuf, "[ice:%d?]", (int) levl[x][y].typ);
|
||||||
} else if ((distu(x, y) > neardist
|
} else if ((distu(x, y) > neardist
|
||||||
|
|||||||
Reference in New Issue
Block a user