Make STEED unconditional.
This commit is contained in:
11
src/invent.c
11
src/invent.c
@@ -1252,10 +1252,7 @@ is_worn(otmp)
|
||||
register struct obj *otmp;
|
||||
{
|
||||
return((boolean)(!!(otmp->owornmask & (W_ARMOR | W_RING | W_AMUL | W_TOOL |
|
||||
#ifdef STEED
|
||||
W_SADDLE |
|
||||
#endif
|
||||
W_WEP | W_SWAPWEP | W_QUIVER))));
|
||||
W_SADDLE | W_WEP | W_SWAPWEP | W_QUIVER))));
|
||||
}
|
||||
|
||||
/* extra xprname() input that askchain() can't pass through safe_qbuf() */
|
||||
@@ -2803,11 +2800,7 @@ STATIC_OVL boolean
|
||||
tool_in_use(obj)
|
||||
struct obj *obj;
|
||||
{
|
||||
if ((obj->owornmask & (W_TOOL
|
||||
#ifdef STEED
|
||||
| W_SADDLE
|
||||
#endif
|
||||
)) != 0L) return TRUE;
|
||||
if ((obj->owornmask & (W_TOOL | W_SADDLE)) != 0L) return TRUE;
|
||||
if (obj->oclass != TOOL_CLASS) return FALSE;
|
||||
return (boolean)(obj == uwep || obj->lamplit ||
|
||||
(obj->otyp == LEASH && obj->leashmon));
|
||||
|
||||
Reference in New Issue
Block a user