… | |
… | |
3412 | switch (op->type) |
3412 | switch (op->type) |
3413 | { |
3413 | { |
3414 | case WEAPON: |
3414 | case WEAPON: |
3415 | if (!check_weapon_power (who, op->last_eat)) |
3415 | if (!check_weapon_power (who, op->last_eat)) |
3416 | { |
3416 | { |
3417 | op->failmsg ("This weapon is too powerful for you to use. It would consume your soul!" LACK_ITEM_POWER); |
3417 | who->failmsg ("This weapon is too powerful for you to use. It would consume your soul!" LACK_ITEM_POWER); |
3418 | |
3418 | |
3419 | if (tmp) |
3419 | if (tmp) |
3420 | insert_ob_in_ob (tmp, who); |
3420 | insert_ob_in_ob (tmp, who); |
3421 | |
3421 | |
3422 | return 1; |
3422 | return 1; |