ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/init.C
(Generate patch)

Comparing deliantra/server/socket/init.C (file contents):
Revision 1.59 by root, Tue May 6 16:55:26 2008 UTC vs.
Revision 1.60 by root, Sat Dec 27 01:25:00 2008 UTC

134 134
135 if (fcntl (fd, F_SETFL, O_NONBLOCK) == -1) 135 if (fcntl (fd, F_SETFL, O_NONBLOCK) == -1)
136 LOG (llevError, "InitConnection: Error on fcntl.\n"); 136 LOG (llevError, "InitConnection: Error on fcntl.\n");
137 137
138 state = ST_SETUP; 138 state = ST_SETUP;
139 mapmode = Map0Cmd; 139 mapmode = Map1aCmd;
140 darkness = 1;
141 mapx = 11; 140 mapx = 11;
142 mapy = 11; 141 mapy = 11;
143 itemcmd = 1; /* Default is version item1 command */ 142 itemcmd = 1; /* Default is version item1 command */
144 max_rate = 100000 / (1000000 / MAX_TIME); // ~1mbit is assumed per default 143 max_rate = 100000 / (1000000 / MAX_TIME); // ~1mbit is assumed per default
145 144

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines