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.33 by root, Wed Mar 14 16:23:26 2007 UTC vs.
Revision 1.38 by root, Mon Apr 2 18:04:47 2007 UTC

255 if (faces_sent[facenum]) 255 if (faces_sent[facenum])
256 return; 256 return;
257 257
258 faces_sent[facenum] = true; 258 faces_sent[facenum] = true;
259 259
260 // if for some reason we let a client without face caching connect,
261 // we better support that decision here and implement it.
260 if (!facecache) 262 if (!facecache)
261 {
262 send_drawinfo (
263 "*** Please enable image/face caching in preferences or use a client that supports it.\n",
264 NDI_RED
265 );
266 return send_image (facenum); 263 return send_image (facenum);
267 }
268 264
269 packet sl; 265 packet sl;
270 266
271 if (force_face0) 267 if (force_face0)
272 sl << "face " << uint16 (facenum); 268 sl << "face " << uint16 (facenum);
305 if (!d) 301 if (!d)
306 { 302 {
307 LOG (llevError, "client::send_image (%d) out of bounds??\n", facenum); 303 LOG (llevError, "client::send_image (%d) out of bounds??\n", facenum);
308 return; 304 return;
309 } 305 }
306
307 faces_sent[facenum] = true;
308
309 if (force_image_newmap)
310 force_newmap = true;
310 311
311 packet sl; 312 packet sl;
312 313
313 sl << (image2 ? "image2 " : "image ") 314 sl << (image2 ? "image2 " : "image ")
314 << uint32 (facenum); 315 << uint32 (facenum);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines