1 | /* |
1 | /* |
2 | * static char *rcsid_init_c = |
2 | * static char *rcsid_init_c = |
3 | * "$Id: init.C,v 1.3 2006/08/18 02:06:58 root Exp $"; |
3 | * "$Id: init.C,v 1.4 2006/08/21 07:13:32 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
156 | ns->password_fails = 0; |
156 | ns->password_fails = 0; |
157 | |
157 | |
158 | ns->current_map = 0; |
158 | ns->current_map = 0; |
159 | ns->current_x = 0; |
159 | ns->current_x = 0; |
160 | ns->current_y = 0; |
160 | ns->current_y = 0; |
|
|
161 | ns->client[0] = 0; |
|
|
162 | ns->buggy_mapscroll = 0; |
161 | |
163 | |
162 | ns->sent_scroll=0; |
164 | ns->sent_scroll=0; |
163 | ns->host=strdup_local(from_ip); |
165 | ns->host=strdup_local(from_ip); |
164 | sprintf((char*)buf, "version %d %d %s\n", VERSION_CS,VERSION_SC, VERSION_INFO); |
166 | sprintf((char*)buf, "version %d %d %s\n", VERSION_CS,VERSION_SC, VERSION_INFO); |
165 | sl.buf=(unsigned char*)buf; |
167 | sl.buf=(unsigned char*)buf; |