1 | /* |
1 | /* |
2 | * static char *rcsid_init_c = |
2 | * static char *rcsid_init_c = |
3 | * "$Id: request.C,v 1.14 2006/09/04 17:14:10 elmex Exp $"; |
3 | * "$Id: request.C,v 1.15 2006/09/07 20:03:21 pippijn 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 | |
… | |
… | |
241 | void MapInfoCmd (char *buf, int len, player *pl) |
241 | void MapInfoCmd (char *buf, int len, player *pl) |
242 | { |
242 | { |
243 | // <mapinfo tag spatial tile-path |
243 | // <mapinfo tag spatial tile-path |
244 | // >mapinfo tag spatial flags x y w h hash |
244 | // >mapinfo tag spatial flags x y w h hash |
245 | |
245 | |
246 | char bigbuf[MAX_BUF], *cp, *token; |
246 | char bigbuf[MAX_BUF], *token; |
247 | |
247 | |
248 | token = buf; |
248 | token = buf; |
249 | // copy token |
249 | // copy token |
250 | if (!(buf = strchr (buf, ' '))) |
250 | if (!(buf = strchr (buf, ' '))) |
251 | return; |
251 | return; |