1 | /* |
1 | /* |
2 | * static char *rcsid_init_c = |
2 | * static char *rcsid_init_c = |
3 | * "$Id: request.C,v 1.13 2006/09/03 00:18:43 root Exp $"; |
3 | * "$Id: request.C,v 1.14 2006/09/04 17:14:10 elmex 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 | |
… | |
… | |
1874 | |
1874 | |
1875 | if (op->type == PLAYER && op != pl) |
1875 | if (op->type == PLAYER && op != pl) |
1876 | player = op->count; |
1876 | player = op->count; |
1877 | } |
1877 | } |
1878 | |
1878 | |
1879 | if (lastcell.stat_hp != stat_hp && 0) |
1879 | if (lastcell.stat_hp != stat_hp) |
1880 | { |
1880 | { |
1881 | lastcell.stat_hp = stat_hp; |
1881 | lastcell.stat_hp = stat_hp; |
1882 | |
1882 | |
1883 | mask |= 0x8; |
1883 | mask |= 0x8; |
1884 | *last_ext |= 0x80; last_ext = sl.buf + sl.len; SockList_AddChar (&sl, 5); |
1884 | *last_ext |= 0x80; last_ext = sl.buf + sl.len; SockList_AddChar (&sl, 5); |
… | |
… | |
1889 | *last_ext |= 0x80; last_ext = sl.buf + sl.len; SockList_AddChar (&sl, 6); |
1889 | *last_ext |= 0x80; last_ext = sl.buf + sl.len; SockList_AddChar (&sl, 6); |
1890 | SockList_AddChar (&sl, stat_width); |
1890 | SockList_AddChar (&sl, stat_width); |
1891 | } |
1891 | } |
1892 | } |
1892 | } |
1893 | |
1893 | |
1894 | if (lastcell.player != player && 0) |
1894 | if (lastcell.player != player) |
1895 | { |
1895 | { |
1896 | lastcell.player = player; |
1896 | lastcell.player = player; |
1897 | mask |= 0x8; |
1897 | mask |= 0x8; |
1898 | *last_ext |= 0x80; last_ext = sl.buf + sl.len; SockList_AddChar (&sl, 0x47); |
1898 | *last_ext |= 0x80; last_ext = sl.buf + sl.len; SockList_AddChar (&sl, 0x47); |
1899 | SockList_AddChar (&sl, 4); |
1899 | SockList_AddChar (&sl, 4); |