- Bei Einheiten mit speziellen Rassen steht keine Rasse mehr
This commit is contained in:
Enno Rehling 2005-05-27 20:22:17 +00:00
parent 3e5bb80b02
commit 6f51f73769
2 changed files with 3 additions and 3 deletions

View File

@ -261,7 +261,7 @@ bufunit(const faction * f, const unit * u, int indent, int mode)
pzTmp = get_racename(u->attribs); pzTmp = get_racename(u->attribs);
if (pzTmp) { if (pzTmp) {
scat(pzTmp); bufp += strlcpy(bufp, pzTmp, sizeof(buf)-(bufp-buf));
if (u->faction==f && fval(u->race, RCF_SHAPESHIFTANY)) { if (u->faction==f && fval(u->race, RCF_SHAPESHIFTANY)) {
bufp += strlcpy(bufp, " (", sizeof(buf)-(bufp-buf)); bufp += strlcpy(bufp, " (", sizeof(buf)-(bufp-buf));
bufp += strlcpy(bufp, racename(f->locale, u, u->race), sizeof(buf)-(bufp-buf)); bufp += strlcpy(bufp, racename(f->locale, u, u->race), sizeof(buf)-(bufp-buf));