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

Comparing deliantra/server/server/attack.C (file contents):
Revision 1.72 by root, Thu Jul 26 00:27:09 2007 UTC vs.
Revision 1.73 by root, Thu Jul 26 00:38:33 2007 UTC

633 { 633 {
634 sprintf (buf, "You %s.", buf1); 634 sprintf (buf, "You %s.", buf1);
635 if (dam != 0) 635 if (dam != 0)
636 { 636 {
637 if (dam < 10) 637 if (dam < 10)
638 op->contr->play_sound (sound_find ("player_hits1")); 638 hitter->contr->play_sound (sound_find ("player_hits1"));
639 else if (dam < 20) 639 else if (dam < 20)
640 op->contr->play_sound (sound_find ("player_hits2")); 640 hitter->contr->play_sound (sound_find ("player_hits2"));
641 else 641 else
642 op->contr->play_sound (sound_find ("player_hits3")); 642 hitter->contr->play_sound (sound_find ("player_hits3"));
643 } 643 }
644 644
645 new_draw_info (NDI_BLACK, 0, hitter, buf); 645 new_draw_info (NDI_BLACK, 0, hitter, buf);
646 } 646 }
647 else if (hitter->owner != NULL && hitter->owner->type == PLAYER) 647 else if (hitter->owner != NULL && hitter->owner->type == PLAYER)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines