condtests[bl_bareh] requires a couple of additional g.context.botl = 1
This commit is contained in:
@@ -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