condtests[bl_bareh] requires a couple of additional g.context.botl = 1
This commit is contained in:
@@ -87,6 +87,8 @@ creating Mine Town variant 1 (Orcish Town) sometimes complained about being
|
||||
prevent "you materialize on a different level" after "a mysterious force
|
||||
prevents you from descending" if you try to level teleport past the
|
||||
stairs down from the quest home level before being granted access
|
||||
set g.context.botl for glove and wielding actions that could start or end
|
||||
bare-handedness in support of condtests[bl_bareh]
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -593,6 +593,8 @@ Gloves_off(VOID_ARGS)
|
||||
engage if a corpse has been set up as the alternate weapon.] */
|
||||
if (u.twoweap && uswapwep && uswapwep->otyp == CORPSE)
|
||||
wielding_corpse(uswapwep, on_purpose);
|
||||
if (condtests[bl_bareh].enabled)
|
||||
g.context.botl = 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -139,6 +139,7 @@ struct obj *wep;
|
||||
{
|
||||
/* Separated function so swapping works easily */
|
||||
int res = 0;
|
||||
boolean had_wep = (uwep != 0);
|
||||
|
||||
if (!wep) {
|
||||
/* No weapon */
|
||||
@@ -221,6 +222,8 @@ struct obj *wep;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((had_wep != (uwep != 0)) && condtests[bl_bareh].enabled)
|
||||
g.context.botl = 1;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user