… | |
… | |
150 | * as it includes the object to throw. |
150 | * as it includes the object to throw. |
151 | */ |
151 | */ |
152 | int |
152 | int |
153 | command_throw (object *op, char *params) |
153 | command_throw (object *op, char *params) |
154 | { |
154 | { |
155 | if (object *skop = find_skill_by_name (op, skill_names[SK_THROWING])) |
155 | if (object *skop = find_skill_by_name (op, shstr_throwing)) |
156 | return do_skill (op, op, skop, op->facing, params); |
156 | return do_skill (op, op, skop, op->facing, params); |
157 | else |
157 | else |
158 | new_draw_info (NDI_UNIQUE, 0, op, "You have no knowledge of the throwing skill."); |
158 | new_draw_info (NDI_UNIQUE, 0, op, "You have no knowledge of the throwing skill."); |
159 | |
159 | |
160 | return 0; |
160 | return 0; |