… | |
… | |
196 | |
196 | |
197 | if (castnow) |
197 | if (castnow) |
198 | cast_spell (op, op, op->facing, spob, cp); |
198 | cast_spell (op, op, op->facing, spob, cp); |
199 | else |
199 | else |
200 | { |
200 | { |
201 | if (op->contr->ranged_ob) |
|
|
202 | apply_special (op, op->contr->ranged_ob, AP_UNAPPLY); |
|
|
203 | |
|
|
204 | op->contr->ranged_ob = spob; |
201 | op->contr->ranged_ob = spob; |
205 | |
202 | |
206 | assign (op->contr->spellparam, cp ? cp : ""); |
203 | assign (op->contr->spellparam, cp ? cp : ""); |
207 | new_draw_info_format (NDI_UNIQUE, 0, op, "You ready the spell %s", &spob->name); |
204 | new_draw_info_format (NDI_UNIQUE, 0, op, "You ready the spell %s", &spob->name); |
208 | } |
205 | } |