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.118 by root, Tue Apr 6 03:53:29 2010 UTC vs.
Revision 1.119 by root, Sat Apr 10 04:54:09 2010 UTC

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 op->apply (inv, aflag); 194 op->apply (inv, aflag);
195 else 195 else
196 op->failmsg (format ("Could not find any match to the %s.", params)); 196 op->failmsgf ("Could not find any match to the %s.", params);
197 } 197 }
198 198
199 return 0; 199 return 0;
200} 200}
201 201
1326 { 1326 {
1327 op->contr->mark = mark; 1327 op->contr->mark = mark;
1328 op->statusmsg (format ("Marked item %s", query_name (mark))); 1328 op->statusmsg (format ("Marked item %s", query_name (mark)));
1329 } 1329 }
1330 else 1330 else
1331 op->failmsg (format ("Could not find an object that matches %s", params)); 1331 op->failmsgf ("Could not find an object that matches %s", params);
1332 } 1332 }
1333 1333
1334 return 0; /*shouldnt get here */ 1334 return 0; /*shouldnt get here */
1335} 1335}
1336 1336

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines