ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/button.C
(Generate patch)

Comparing deliantra/server/common/button.C (file contents):
Revision 1.56 by root, Mon Oct 12 14:00:57 2009 UTC vs.
Revision 1.57 by root, Mon Oct 12 21:27:54 2009 UTC

76 : sound_find (tmp->type == GATE ? "trigger_gate" : "trigger_hole")); 76 : sound_find (tmp->type == GATE ? "trigger_gate" : "trigger_hole"));
77 tmp->value = tmp->stats.maxsp ? !state : state; 77 tmp->value = tmp->stats.maxsp ? !state : state;
78 tmp->set_speed (0.5); 78 tmp->set_speed (0.5);
79 break; 79 break;
80 80
81 case CF_HANDLE: 81 case T_HANDLE:
82 SET_ANIMATION (tmp, (tmp->value = tmp->stats.maxsp ? !state : state)); 82 SET_ANIMATION (tmp, (tmp->value = tmp->stats.maxsp ? !state : state));
83 update_object (tmp, UP_OBJ_FACE); 83 update_object (tmp, UP_OBJ_FACE);
84 break; 84 break;
85 85
86 case SIGN: 86 case SIGN:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines