build fix (trunk only)
Noticed by Michael: I accidentally put a declaration in the wrong spot and my compiler used C99 semantics to accept it there.
This commit is contained in:
+1
-1
@@ -438,9 +438,9 @@ Gloves_off()
|
|||||||
{
|
{
|
||||||
long oldprop =
|
long oldprop =
|
||||||
u.uprops[objects[uarmg->otyp].oc_oprop].extrinsic & ~WORN_GLOVES;
|
u.uprops[objects[uarmg->otyp].oc_oprop].extrinsic & ~WORN_GLOVES;
|
||||||
|
boolean on_purpose = !context.mon_moving && !uarmg->in_use;
|
||||||
|
|
||||||
context.takeoff.mask &= ~W_ARMG;
|
context.takeoff.mask &= ~W_ARMG;
|
||||||
boolean on_purpose = !context.mon_moving && !uarmg->in_use;
|
|
||||||
|
|
||||||
switch(uarmg->otyp) {
|
switch(uarmg->otyp) {
|
||||||
case LEATHER_GLOVES:
|
case LEATHER_GLOVES:
|
||||||
|
|||||||
Reference in New Issue
Block a user