--- deliantra/server/common/button.C 2007/01/09 16:38:23 1.24 +++ deliantra/server/common/button.C 2007/01/09 22:14:29 1.25 @@ -834,7 +834,6 @@ void check_inv (object *op, object *trig) { - sint32 prev_state = trig->value; trig->value = 0; // deactivate if none of the following conditions apply if (object *pl = trig->ms ().player ()) @@ -852,7 +851,6 @@ trig->value = 1; } - if (prev_state != trig->value) - push_button (trig); + push_button (trig); }