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

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.116 by root, Mon Apr 5 03:22:26 2010 UTC vs.
Revision 1.117 by root, Mon Apr 5 23:05:45 2010 UTC

189 189
190 while (*params == ' ') 190 while (*params == ' ')
191 params++; 191 params++;
192 192
193 if (object *inv = find_best_apply_object_match (op, params, aflag)) 193 if (object *inv = find_best_apply_object_match (op, params, aflag))
194 player_apply (op, inv, aflag); 194 op->apply (inv, aflag);
195 else 195 else
196 new_draw_info_format (NDI_UNIQUE, 0, op, "Could not find any match to the %s.", params); 196 op->failmsg (format ("Could not find any match to the %s.", params));
197 } 197 }
198 198
199 return 0; 199 return 0;
200} 200}
201 201

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines