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.45 by root, Sat Apr 3 02:27:24 2010 UTC vs.
Revision 1.46 by root, Sat Apr 3 17:15:19 2010 UTC

159 cp += 3; 159 cp += 3;
160 } 160 }
161 else 161 else
162 cp = NULL; 162 cp = NULL;
163 163
164 if (!spob->skill)
165 {
166 new_draw_info_format (NDI_UNIQUE, 0, op, "%s is a weird spell, please report it to the dungeon master!", &spob->name);
167 LOG (llevError, "spell without skill found: %s", spob->debug_desc ());
168 return 1;
169 }
170
171 if (castnow) 164 if (castnow)
172 cast_spell (op, op, op->facing, spob, cp); 165 cast_spell (op, op, op->facing, spob, cp);
173 else if (op->apply (spob)) 166 else if (op->apply (spob))
174 { 167 {
175 splay (spob); 168 splay (spob);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines