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

Comparing deliantra/server/common/player.C (file contents):
Revision 1.48 by root, Sun Dec 28 06:59:26 2008 UTC vs.
Revision 1.50 by root, Thu Jan 8 00:54:55 2009 UTC

46is_dragon_pl (const object *op) 46is_dragon_pl (const object *op)
47{ 47{
48 if (op 48 if (op
49 && op->type == PLAYER 49 && op->type == PLAYER
50 && op->arch 50 && op->arch
51 && op->arch->race 51 && op->arch->race == shstr_dragon)
52 && !strcmp (op->arch->race, "dragon"))
53 return 1; 52 return 1;
54 53
55 return 0; 54 return 0;
56} 55}
57 56
356 --cfpod; 355 --cfpod;
357 do 356 do
358 buf << *cfpod++; 357 buf << *cfpod++;
359 while (*cfpod == '\n'); 358 while (*cfpod == '\n');
360 } 359 }
361 else if (*cfpod != ' ') 360 else if (*cfpod == ' ')
361 buf << '\n';
362 else
362 buf << ' '; 363 buf << ' ';
363 364
364 // verbatim block? 365 // verbatim block?
365 if (*cfpod == ' ') 366 if (*cfpod == ' ')
366 goto verbatim; 367 goto verbatim;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines