--- deliantra/server/common/button.C 2006/12/13 03:28:42 1.14 +++ deliantra/server/common/button.C 2006/12/19 13:41:45 1.15 @@ -856,7 +856,7 @@ */ void -check_inv (object *op, object *trig) +check_inv (object *op, object *trig, bool move_on) { object *match; @@ -867,9 +867,15 @@ { if (trig->last_heal) decrease_ob (match); - use_trigger (trig); + + trig->value = move_on ? 1 : 0; + + push_button (trig); } else if (!match && !trig->last_sp) - use_trigger (trig); + { + trig->value = move_on ? 1 : 0; + push_button (trig); + } }