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.90 by root, Sat Dec 31 06:18:02 2011 UTC vs.
Revision 1.92 by root, Tue Jan 3 11:25:37 2012 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * 5 *
6 * Deliantra is free software: you can redistribute it and/or modify it under 6 * Deliantra is free software: you can redistribute it and/or modify it under
7 * the terms of the Affero GNU General Public License as published by the 7 * the terms of the Affero GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or (at your 8 * Free Software Foundation, either version 3 of the License, or (at your
9 * option) any later version. 9 * option) any later version.
245 245
246 packet sl ("ix"); 246 packet sl ("ix");
247 247
248 sl << ber32 (ix.idx) 248 sl << ber32 (ix.idx)
249 << ber32 (ix.ofs) 249 << ber32 (ix.ofs)
250 << data (d->data.data () + ix.ofs, chunk); 250 << data (d->data + ix.ofs, chunk);
251 251
252 send_packet (sl); 252 send_packet (sl);
253 } 253 }
254 else 254 else
255 ix.ofs = 0; 255 ix.ofs = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines