… | |
… | |
1571 | |
1571 | |
1572 | readable_message_type *msgType = get_readable_message_type (tmp); |
1572 | readable_message_type *msgType = get_readable_message_type (tmp); |
1573 | |
1573 | |
1574 | draw_ext_info_format (NDI_UNIQUE | NDI_NAVY, 0, op, |
1574 | draw_ext_info_format (NDI_UNIQUE | NDI_NAVY, 0, op, |
1575 | msgType->message_type, msgType->message_subtype, |
1575 | msgType->message_type, msgType->message_subtype, |
1576 | "You open the %s and start reading.\n%s", "%s\n%s", long_desc (tmp, op), &tmp->msg); |
1576 | "You open the %s and start reading.\n%s", (char *)"%s\n%s", |
|
|
1577 | long_desc (tmp, op), &tmp->msg); |
1577 | |
1578 | |
1578 | /* gain xp from reading */ |
1579 | /* gain xp from reading */ |
1579 | if (!QUERY_FLAG (tmp, FLAG_NO_SKILL_IDENT)) |
1580 | if (!QUERY_FLAG (tmp, FLAG_NO_SKILL_IDENT)) |
1580 | { /* only if not read before */ |
1581 | { /* only if not read before */ |
1581 | int exp_gain = calc_skill_exp (op, tmp, skill_ob); |
1582 | int exp_gain = calc_skill_exp (op, tmp, skill_ob); |