Anzeige von Einheiten im Mapper auf neues spskill umgestellt.

This commit is contained in:
Enno Rehling 2005-05-12 21:15:33 +00:00
parent 987fba6213
commit 91b137fc20
1 changed files with 3 additions and 1 deletions

View File

@ -830,6 +830,7 @@ mapper_spunit(dbllist ** SP, unit * u, int indent)
int i, dh;
skill_t sk;
item * itm;
char * bufp;
strcpy(buf, "\025");
sncat(buf, unitname(u), BUFSIZE);
@ -895,8 +896,9 @@ mapper_spunit(dbllist ** SP, unit * u, int indent)
sncat(buf, " Silber", BUFSIZE);
dh = 0;
bufp = buf + strlen(buf);
for (sk = 0; sk != MAXSKILLS; sk++)
spskill(buf, sizeof(buf), find_locale("de"), u, sk, &dh, 1);
bufp += spskill(bufp, sizeof(buf)-(bufp-buf), find_locale("de"), u, sk, &dh, 1);
dh = 0;
for (itm = u->items;itm;itm=itm->next) {