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.44 by root, Sun Jul 1 05:00:20 2007 UTC vs.
Revision 1.45 by root, Thu Jul 5 10:34:08 2007 UTC

211 211
212 ix.pri = pri; 212 ix.pri = pri;
213 ix.idx = idx; 213 ix.idx = idx;
214 ix.ofs = d->data.size (); 214 ix.ofs = d->data.size ();
215 215
216 // this is (hopefully) a temporary fix around older cfplus versions not
217 // supporting interleaved transfers
218 ns->ixface.insert (ns->ixface.begin (), ix);
219
220#if 0
216 // the by far most common case will be to insert 221 // the by far most common case will be to insert
217 // right at the end, so no looping. 222 // right at the end, so no looping.
218 auto (i, ns->ixface.end ()); 223 auto (i, ns->ixface.end ());
219 for (; i != ns->ixface.begin (); ) 224 for (; i != ns->ixface.begin (); )
220 if (pri >= (--i)->pri) 225 if (pri >= (--i)->pri)
221 break; 226 break;
222 227
223 ns->ixface.insert (i, ix); 228 ns->ixface.insert (i, ix);
229#endif
224} 230}
225 231
226/** 232/**
227 * Tells client the picture it has to use 233 * Tells client the picture it has to use
228 * to smooth a picture number given as argument. 234 * to smooth a picture number given as argument.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines