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.29 by root, Tue Apr 24 12:32:14 2007 UTC vs.
Revision 1.30 by root, Sat Apr 28 17:51:57 2007 UTC

779 add_friendly_object (tmp); 779 add_friendly_object (tmp);
780 tmp->attack_movement = PETMOVE; 780 tmp->attack_movement = PETMOVE;
781 } 781 }
782 break; 782 break;
783 783
784 case 6: 784 case 6: // kill monsters
785 if (!QUERY_FLAG (tmp, FLAG_FRIENDLY)) 785 if (!QUERY_FLAG (tmp, FLAG_FRIENDLY))
786 break; 786 break;
787 787
788 // FALL THROUGH 788 // FALL THROUGH
789 case 5: 789 case 5: // kill all alives
790 if (!tmp->flag [FLAG_PRECIOUS])
791 {
790 get_archetype ("burnout")->insert_at (tmp, source); 792 get_archetype ("burnout")->insert_at (tmp, source);
791 tmp->destroy (); 793 tmp->destroy ();
794 }
792 break; 795 break;
793 796
794 default: 797 default:
795 break; 798 break;
796 } 799 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines