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

Comparing deliantra/server/socket/loop.C (file contents):
Revision 1.56 by root, Sun Jul 1 05:47:00 2007 UTC vs.
Revision 1.57 by root, Sun Jul 1 06:07:03 2007 UTC

199 199
200 if (facedata *d = face_data (ix.idx, faceset)) 200 if (facedata *d = face_data (ix.idx, faceset))
201 { 201 {
202 if (fxix) 202 if (fxix)
203 { 203 {
204 // 9 bytes is enough for fx_FFFOOO, 40 leaves some room for image data 204 // 9 bytes is enough for fx_FFFOOO, 240 leaves some room for image data
205 int chunk = min (min (avail - 40, MAXSOCKBUF - 9), ix.ofs); 205 int chunk = min (min (avail - 240, MAXSOCKBUF - 9), ix.ofs);
206 206
207 if (chunk <= 0) 207 if (chunk <= 0)
208 break; 208 break;
209 209
210 ix.ofs -= chunk; 210 ix.ofs -= chunk;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines