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.26 by root, Sat Dec 16 22:14:42 2006 UTC vs.
Revision 1.27 by root, Sun Dec 17 19:07:23 2006 UTC

183 { 183 {
184 client *s = *i; 184 client *s = *i;
185 player *pl = s->pl; 185 player *pl = s->pl;
186 186
187 s->handle_packet (); 187 s->handle_packet ();
188
189 for (int i = 16; --i; ) //D
190 if (!//D
188 s->handle_command (); 191 s->handle_command ()
192 ) break;//D
189 193
190 //TODO: should not be done here, either 194 //TODO: should not be done here, either
191 if (s->status != Ns_Dead && pl) 195 if (s->status != Ns_Dead && pl)
192 { 196 {
193 /* Update the players stats once per tick. More efficient than 197 /* Update the players stats once per tick. More efficient than

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines