… | |
… | |
436 | if (settings.casting_time == TRUE) |
436 | if (settings.casting_time == TRUE) |
437 | { |
437 | { |
438 | if (pl->casting_time > -1) |
438 | if (pl->casting_time > -1) |
439 | { |
439 | { |
440 | if (pl->casting_time == 0) |
440 | if (pl->casting_time == 0) |
441 | sprintf (obuf, "Range: Holding spell (%s)", (const char *) pl->spell->name); |
441 | sprintf (obuf, "Range: Holding spell (%s)", &pl->spell->name); |
442 | else |
442 | else |
443 | sprintf (obuf, "Range: Casting spell (%s)", (const char *) pl->spell->name); |
443 | sprintf (obuf, "Range: Casting spell (%s)", &pl->spell->name); |
444 | } |
444 | } |
445 | else |
445 | else |
446 | sprintf (obuf, "Range: spell (%s)", &pl->contr->ranges[range_magic]->name); |
446 | sprintf (obuf, "Range: spell (%s)", &pl->contr->ranges[range_magic]->name); |
447 | } |
447 | } |
448 | else |
448 | else |