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.29 by root, Tue Dec 19 04:58:05 2006 UTC

182 for (sockvec::iterator i = clients.begin (); i != clients.end (); ++i) 182 for (sockvec::iterator i = clients.begin (); i != clients.end (); ++i)
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 ();
188 s->handle_command ();
189
190 //TODO: should not be done here, either 187 //TODO: should not be done here, either
191 if (s->status != Ns_Dead && pl) 188 if (s->status != Ns_Dead && pl)
192 { 189 {
193 /* Update the players stats once per tick. More efficient than 190 /* Update the players stats once per tick. More efficient than
194 * sending them whenever they change, and probably just as useful 191 * sending them whenever they change, and probably just as useful

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines