… | |
… | |
1148 | } |
1148 | } |
1149 | |
1149 | |
1150 | new_draw_info (NDI_UNIQUE, 0, op, buf); |
1150 | new_draw_info (NDI_UNIQUE, 0, op, buf); |
1151 | |
1151 | |
1152 | if (op->contr) |
1152 | if (op->contr) |
1153 | op->contr->socket->floorbox_update (); |
1153 | op->contr->ns->floorbox_update (); |
1154 | |
1154 | |
1155 | return 1; |
1155 | return 1; |
1156 | } |
1156 | } |
1157 | |
1157 | |
1158 | /** |
1158 | /** |
… | |
… | |
1795 | |
1795 | |
1796 | /* If in a container, update how it looks */ |
1796 | /* If in a container, update how it looks */ |
1797 | if (tmp->env) |
1797 | if (tmp->env) |
1798 | esrv_update_item (UPD_FLAGS | UPD_NAME, op, tmp); |
1798 | esrv_update_item (UPD_FLAGS | UPD_NAME, op, tmp); |
1799 | else |
1799 | else |
1800 | op->contr->socket->floorbox_update (); |
1800 | op->contr->ns->floorbox_update (); |
1801 | } |
1801 | } |
1802 | |
1802 | |
1803 | change_exp (op, exp_gain, skill_ob->skill, 0); |
1803 | change_exp (op, exp_gain, skill_ob->skill, 0); |
1804 | SET_FLAG (tmp, FLAG_NO_SKILL_IDENT); /* so no more xp gained from this book */ |
1804 | SET_FLAG (tmp, FLAG_NO_SKILL_IDENT); /* so no more xp gained from this book */ |
1805 | } |
1805 | } |
… | |
… | |
1958 | identify (tmp); |
1958 | identify (tmp); |
1959 | |
1959 | |
1960 | if (tmp->env) |
1960 | if (tmp->env) |
1961 | esrv_update_item (UPD_FLAGS | UPD_NAME, op, tmp); |
1961 | esrv_update_item (UPD_FLAGS | UPD_NAME, op, tmp); |
1962 | else |
1962 | else |
1963 | op->contr->socket->floorbox_update (); |
1963 | op->contr->ns->floorbox_update (); |
1964 | } |
1964 | } |
1965 | |
1965 | |
1966 | /* I removed the check for special_prayer_mark here - it didn't make |
1966 | /* I removed the check for special_prayer_mark here - it didn't make |
1967 | * a lot of sense - special prayers are not found in spellbooks, and |
1967 | * a lot of sense - special prayers are not found in spellbooks, and |
1968 | * if the player doesn't know the spell, doesn't make a lot of sense that |
1968 | * if the player doesn't know the spell, doesn't make a lot of sense that |