… | |
… | |
1479 | atnr = abil->stats.exp; |
1479 | atnr = abil->stats.exp; |
1480 | |
1480 | |
1481 | level = (int) (level / 5.); |
1481 | level = (int) (level / 5.); |
1482 | |
1482 | |
1483 | /* now set the new title */ |
1483 | /* now set the new title */ |
1484 | if (pl->contr != NULL) |
1484 | if (pl->contr) |
1485 | { |
1485 | { |
1486 | if (level == 0) |
1486 | if (level == 0) |
1487 | sprintf (pl->contr->title, "%s hatchling", attacks[atnr]); |
1487 | sprintf (pl->contr->title, "%s hatchling", attacks[atnr]); |
1488 | else if (level == 1) |
1488 | else if (level == 1) |
1489 | sprintf (pl->contr->title, "%s wyrm", attacks[atnr]); |
1489 | sprintf (pl->contr->title, "%s wyrm", attacks[atnr]); |