… | |
… | |
1328 | |
1328 | |
1329 | /* Middle face */ |
1329 | /* Middle face */ |
1330 | if (update_space (sl, socket, ms, lastcell, 1)) |
1330 | if (update_space (sl, socket, ms, lastcell, 1)) |
1331 | mask |= 0x2; |
1331 | mask |= 0x2; |
1332 | |
1332 | |
|
|
1333 | if (ob->invisible |
|
|
1334 | && ob->invisible & (ob->invisible < 50 ? 1 : 7) |
1333 | if (ms.player () == ob |
1335 | && ms.player () == ob) |
1334 | && (ob->invisible & (ob->invisible < 50 ? 1 : 7))) |
|
|
1335 | { |
1336 | { |
1336 | // force player to be visible to himself if invisible |
1337 | // force player to be visible to himself if invisible |
1337 | if (lastcell.faces[0] != ob->face) |
1338 | if (lastcell.faces[0] != ob->face) |
1338 | { |
1339 | { |
1339 | lastcell.faces[0] = ob->face; |
1340 | lastcell.faces[0] = ob->face; |