ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_range.C
(Generate patch)

Comparing deliantra/server/server/c_range.C (file contents):
Revision 1.29 by root, Thu Nov 8 19:43:26 2007 UTC vs.
Revision 1.30 by root, Tue May 6 14:56:42 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines