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.39 by pippijn, Sat Jan 20 13:47:17 2007 UTC vs.
Revision 1.40 by pippijn, Thu Mar 1 12:28:17 2007 UTC

136 if ((time (NULL) - cst_lst.time_start) >= CS_LOGTIME) 136 if ((time (NULL) - cst_lst.time_start) >= CS_LOGTIME)
137 write_cs_stats (); 137 write_cs_stats ();
138#endif 138#endif
139 139
140 //TODO: should not be done here, either 140 //TODO: should not be done here, either
141 for (int i = 0; i < clients.size (); ++i) 141 for (unsigned i = 0; i < clients.size (); ++i)
142 { 142 {
143 client *s = clients [i]; 143 client *s = clients [i];
144 player *pl = s->pl; 144 player *pl = s->pl;
145 145
146 if (pl && pl->ns && !pl->ns->destroyed ()) 146 if (pl && pl->ns && !pl->ns->destroyed ())

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines