… | |
… | |
631 | * Sends item's info to player. |
631 | * Sends item's info to player. |
632 | */ |
632 | */ |
633 | void |
633 | void |
634 | esrv_send_item (object *pl, object *op) |
634 | esrv_send_item (object *pl, object *op) |
635 | { |
635 | { |
|
|
636 | if (!pl->contr->ns) |
|
|
637 | return; |
|
|
638 | |
636 | /* If this is not the player object, do some more checks */ |
639 | /* If this is not the player object, do some more checks */ |
637 | if (op != pl) |
640 | if (op != pl) |
638 | { |
641 | { |
639 | /* We only send 'visibile' objects to the client */ |
642 | /* We only send 'visibile' objects to the client */ |
640 | if (!op->client_visible ()) |
643 | if (!op->client_visible ()) |