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.46 by root, Fri Jul 6 03:52:51 2007 UTC vs.
Revision 1.48 by root, Thu Jul 12 18:48:20 2007 UTC

306 { 306 {
307 LOG (llevError, "client::send_face (%d) out of bounds??\n", facenum); 307 LOG (llevError, "client::send_face (%d) out of bounds??\n", facenum);
308 return; 308 return;
309 } 309 }
310 310
311 if (faces_sent[facenum]) 311 // refuse tos end non-image faces
312 if (d->type)
312 return; 313 return;
313 314
314 faces_sent[facenum] = true; 315 if (!must_send_face (facenum))
316 return;
315 317
316 // if for some reason we let a client without face caching connect, 318 // if for some reason we let a client without face caching connect,
317 // we better support that decision here and implement it. 319 // we better support that decision here and implement it.
318 if (!facecache) 320 if (!facecache)
319 return send_image (facenum); 321 return send_image (facenum);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines