"Beschreibung des Schneemanns unvollständig"
- fixed display of attacks
This commit is contained in:
Enno Rehling 2008-02-05 15:36:43 +00:00
parent 55fc1ccd47
commit b602fbfab3
2 changed files with 4 additions and 4 deletions

View file

@ -2134,7 +2134,7 @@ display_race(faction *f, unit *u, const race * rc)
for (a = 0; a < 6; a++) {
if (rc->attack[a].type != AT_NONE){
if (a!=0) bytes = (int)strlcpy(bufp, ", ", size);
else strlcpy(bufp, ": ", size);
else bytes = (int)strlcpy(bufp, ": ", size);
if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER();
switch(rc->attack[a].type) {
@ -2148,7 +2148,7 @@ display_race(faction *f, unit *u, const race * rc)
case AT_COMBATSPELL:
case AT_DRAIN_ST:
case AT_DAZZLE:
bytes = snprintf(bufp, size, "%s", LOC(f->locale, "attack_natural"));
bytes = snprintf(bufp, size, "%s", LOC(f->locale, "attack_magical"));
break;
case AT_STRUCTURAL:
bytes = snprintf(bufp, size, "%s (%s)", LOC(f->locale, "attack_structural"), rc->attack[a].data.dice);

View file

@ -7390,8 +7390,8 @@
</string>
<string name="attack_natural">
<text locale="de">ein Angriff mit der Waffe oder unbewaffnet</text>
<text locale="en">an attack with a weapon or an unarmed attack</text>
<text locale="de">ein unbewaffneter Angriff</text>
<text locale="en">an unarmed attack</text>
</string>
<string name="attack_magical">