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

Comparing deliantra/server/socket/request.C (file contents):
Revision 1.67 by pippijn, Thu Mar 1 12:28:17 2007 UTC vs.
Revision 1.68 by root, Sun Mar 4 19:36:12 2007 UTC

705 uint16 smoothface; 705 uint16 smoothface;
706 706
707 /* If we can't find a face, return and set it so we won't try to send this 707 /* If we can't find a face, return and set it so we won't try to send this
708 * again. 708 * again.
709 */ 709 */
710 if ((!FindSmooth (face, &smoothface)) && (!FindSmooth (smooth_face->number, &smoothface))) 710 if (!FindSmooth (face, &smoothface))
711 { 711 {
712 712
713 LOG (llevError, "could not findsmooth for %d. Neither default (%s)\n", face, &smooth_face->name); 713 LOG (llevError, "could not findsmooth for %d.\n", face);
714 ns->faces_sent[face] |= NS_FACESENT_SMOOTH; 714 ns->faces_sent[face] |= NS_FACESENT_SMOOTH;
715 return; 715 return;
716 } 716 }
717 717
718 if (!(ns->faces_sent[smoothface] & NS_FACESENT_FACE)) 718 if (!(ns->faces_sent[smoothface] & NS_FACESENT_FACE))
726 << uint16 (smoothface); 726 << uint16 (smoothface);
727 727
728 ns->send_packet (sl); 728 ns->send_packet (sl);
729} 729}
730 730
731 /** 731/**
732 * Tells client the picture it has to use 732 * Tells client the picture it has to use
733 * to smooth a picture number given as argument. 733 * to smooth a picture number given as argument.
734 */ 734 */
735void 735void
736AskSmooth (char *buf, int len, client *ns) 736AskSmooth (char *buf, int len, client *ns)
737{ 737{
738 SendSmooth (ns, atoi (buf)); 738 SendSmooth (ns, atoi (buf));
739} 739}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines