… | |
… | |
1177 | |
1177 | |
1178 | int d = pl->blocked_los[ax][ay]; |
1178 | int d = pl->blocked_los[ax][ay]; |
1179 | |
1179 | |
1180 | if (d > 3) |
1180 | if (d > 3) |
1181 | { |
1181 | { |
1182 | |
|
|
1183 | int need_send = 0, count; |
1182 | int need_send = 0, count; |
1184 | |
1183 | |
1185 | /* This block deals with spaces that are not visible for whatever |
1184 | /* This block deals with spaces that are not visible for whatever |
1186 | * reason. Still may need to send the head for this space. |
1185 | * reason. Still may need to send the head for this space. |
1187 | */ |
1186 | */ |
… | |
… | |
1193 | if (lastcell.count != -1) |
1192 | if (lastcell.count != -1) |
1194 | need_send = 1; |
1193 | need_send = 1; |
1195 | |
1194 | |
1196 | count = -1; |
1195 | count = -1; |
1197 | |
1196 | |
1198 | /* properly clear a previously sent big face */ |
|
|
1199 | if (lastcell.faces[0] || lastcell.faces[1] || lastcell.faces[2] |
1197 | if (lastcell.faces[0] || lastcell.faces[1] || lastcell.faces[2] |
1200 | || lastcell.stat_hp || lastcell.flags || lastcell.player) |
1198 | || lastcell.stat_hp || lastcell.flags || lastcell.player) |
1201 | need_send = 1; |
1199 | need_send = 1; |
1202 | |
1200 | |
|
|
1201 | /* properly clear a previously sent big face */ |
1203 | map_clearcell (&lastcell, count); |
1202 | map_clearcell (&lastcell, count); |
1204 | |
1203 | |
1205 | if ((mask & 0xf) || need_send) |
1204 | if ((mask & 0xf) || need_send) |
1206 | sl[oldlen + 1] = mask & 0xff; |
1205 | sl[oldlen + 1] = mask & 0xff; |
1207 | else |
1206 | else |
… | |
… | |
1272 | } |
1271 | } |
1273 | |
1272 | |
1274 | if (op->msg && op->msg[0] == '@') |
1273 | if (op->msg && op->msg[0] == '@') |
1275 | flags |= 1; |
1274 | flags |= 1; |
1276 | |
1275 | |
1277 | if (op->type == PLAYER && op != ob) |
1276 | if (op->type == PLAYER) |
1278 | player = op->count; |
1277 | player = op->count; |
1279 | } |
1278 | } |
1280 | |
1279 | |
1281 | if (lastcell.stat_hp != stat_hp) |
1280 | if (lastcell.stat_hp != stat_hp) |
1282 | { |
1281 | { |