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:
nethack.rankin
2005-12-09 01:23:36 +00:00
parent baff3bc88b
commit 54a23af752

View File

@@ -438,9 +438,9 @@ Gloves_off()
{
long oldprop =
u.uprops[objects[uarmg->otyp].oc_oprop].extrinsic & ~WORN_GLOVES;
boolean on_purpose = !context.mon_moving && !uarmg->in_use;
context.takeoff.mask &= ~W_ARMG;
boolean on_purpose = !context.mon_moving && !uarmg->in_use;
switch(uarmg->otyp) {
case LEATHER_GLOVES: