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

Comparing deliantra/server/common/arch.C (file contents):
Revision 1.86 by root, Sun Oct 5 14:54:05 2008 UTC vs.
Revision 1.87 by root, Thu Jan 1 11:41:17 2009 UTC

258 retval = 6; 258 retval = 6;
259 /* base name matched - not bad */ 259 /* base name matched - not bad */
260 else if (strcasecmp (cp, op->name) == 0 && !count) 260 else if (strcasecmp (cp, op->name) == 0 && !count)
261 retval = 4; 261 retval = 4;
262 /* Check for partial custom name, but give a real low priority */ 262 /* Check for partial custom name, but give a real low priority */
263 else if (op->custom_name && strstr (op->custom_name, cp)) 263 else if (op->custom_name && op->custom_name.contains (cp))
264 retval = 3; 264 retval = 3;
265 265
266 if (retval) 266 if (retval)
267 { 267 {
268 if (pl->type == PLAYER) 268 if (pl->type == PLAYER)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines