… | … | ||
---|---|---|---|
46 | is_dragon_pl (const object *op) | 46 | is_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 | ||
… | … | ||
461 | do | 460 | do |
462 | { | 461 | { |
463 | buf << "<tt>"; | 462 | buf << "<tt>"; |
464 | cfpod = expand_cfpod (pl, buf, cfpod, -2); | 463 | cfpod = expand_cfpod (pl, buf, cfpod, -2); |
465 | buf << "</tt>\n"; | 464 | buf << "</tt>\n"; |
465 | |||
466 | while (*cfpod == '\n') | ||
467 | buf << *cfpod++; | ||
466 | } | 468 | } |
467 | while (*cfpod == ' '); | 469 | while (*cfpod == ' '); |
468 | 470 | ||
469 | while (*cfpod == '\n') | ||
470 | buf << *cfpod++; | ||
471 | |||
472 | break; | 471 | break; |
473 | } | 472 | } |
474 | } | 473 | } |
475 | 474 | ||
476 | dynbuf_text * | 475 | dynbuf_text * |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |