show silver for travelthru-regions
This commit is contained in:
Enno Rehling 2009-10-12 21:02:41 +00:00
parent f5800c7831
commit 50c0475823
1 changed files with 1 additions and 1 deletions

View File

@ -972,7 +972,7 @@ describe(FILE * F, const seen_region * sr, faction * f)
if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER(); if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER();
} }
} }
if (rmoney(r) && sr->mode==see_unit) { if (rmoney(r) && sr->mode>=see_travel) {
bytes = snprintf(bufp, size, ", %d ", rmoney(r)); bytes = snprintf(bufp, size, ", %d ", rmoney(r));
if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER(); if (wrptr(&bufp, &size, bytes)!=0) WARN_STATIC_BUFFER();
bytes = (int)strlcpy(bufp, LOC(f->locale, resourcename(oldresourcetype[R_SILVER], rmoney(r)!=1)), size); bytes = (int)strlcpy(bufp, LOC(f->locale, resourcename(oldresourcetype[R_SILVER], rmoney(r)!=1)), size);