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

Comparing deliantra/server/socket/image.C (file contents):
Revision 1.13 by root, Fri Dec 15 19:59:20 2006 UTC vs.
Revision 1.14 by root, Sat Dec 16 03:08:26 2006 UTC

313 int mask = (atoi (buf) & CF_FACE_CACHE), mode = (atoi (buf) & ~CF_FACE_CACHE); 313 int mask = (atoi (buf) & CF_FACE_CACHE), mode = (atoi (buf) & ~CF_FACE_CACHE);
314 314
315 if (mode == CF_FACE_NONE) 315 if (mode == CF_FACE_NONE)
316 ns->facecache = 1; 316 ns->facecache = 1;
317 else if (mode != CF_FACE_PNG) 317 else if (mode != CF_FACE_PNG)
318 {
319 packet sl;
320 sl.printf ("drawinfo %d %s", NDI_RED, "Warning - send unsupported face mode. Will use Png"); 318 ns->send_packet_printf ("drawinfo %d %s", NDI_RED, "Warning - send unsupported face mode. Will use Png");
321 ns->send_packet (sl);
322 }
323 319
324 if (mask) 320 if (mask)
325 ns->facecache = 1; 321 ns->facecache = 1;
326} 322}
327 323

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines