… | |
… | |
736 | fix_player (op); /* This is overkill, fix_player() is called somewhere */ |
736 | fix_player (op); /* This is overkill, fix_player() is called somewhere */ |
737 | /* in object.c */ |
737 | /* in object.c */ |
738 | |
738 | |
739 | if (op->type == PLAYER) |
739 | if (op->type == PLAYER) |
740 | { |
740 | { |
741 | op->contr->socket.update_look = 1; |
741 | op->contr->socket->update_look = 1; |
742 | /* Need to update the weight for the player */ |
742 | /* Need to update the weight for the player */ |
743 | esrv_send_item (op, op); |
743 | esrv_send_item (op, op); |
744 | } |
744 | } |
745 | |
745 | |
746 | for (floor = get_map_ob (op->map, op->x, op->y); floor; floor = floor->above) |
746 | for (floor = get_map_ob (op->map, op->x, op->y); floor; floor = floor->above) |
… | |
… | |
937 | } |
937 | } |
938 | } |
938 | } |
939 | curinv = nextinv; |
939 | curinv = nextinv; |
940 | } |
940 | } |
941 | } |
941 | } |
942 | op->contr->socket.update_look = 1; |
942 | op->contr->socket->update_look = 1; |
943 | |
943 | |
944 | /* draw_look(op);*/ |
944 | /* draw_look(op);*/ |
945 | return 0; |
945 | return 0; |
946 | } |
946 | } |
947 | |
947 | |
… | |
… | |
977 | new_draw_info (NDI_UNIQUE, 0, op, "Nothing to drop."); |
977 | new_draw_info (NDI_UNIQUE, 0, op, "Nothing to drop."); |
978 | } |
978 | } |
979 | if (op->type == PLAYER) |
979 | if (op->type == PLAYER) |
980 | { |
980 | { |
981 | op->contr->count = 0; |
981 | op->contr->count = 0; |
982 | op->contr->socket.update_look = 1; |
982 | op->contr->socket->update_look = 1; |
983 | }; |
983 | }; |
984 | |
984 | |
985 | /* draw_look(op);*/ |
985 | /* draw_look(op);*/ |
986 | return 0; |
986 | return 0; |
987 | } |
987 | } |