forked from github/server
small fixes
This commit is contained in:
parent
4f182eb06b
commit
974747b4ad
|
@ -26,9 +26,9 @@ struct locale;
|
|||
struct troop;
|
||||
|
||||
typedef struct item {
|
||||
struct item * next;
|
||||
const struct item_type * type;
|
||||
int number;
|
||||
struct item * next;
|
||||
} item;
|
||||
|
||||
typedef struct resource {
|
||||
|
|
|
@ -1073,7 +1073,6 @@ readunit(FILE * F)
|
|||
}
|
||||
set_order(&u->thisorder, NULL);
|
||||
|
||||
assert(u->number <= UNIT_MAXSIZE);
|
||||
assert(u->race);
|
||||
if (global.data_version<NEWSKILL_VERSION) {
|
||||
/* convert old data */
|
||||
|
@ -1190,7 +1189,6 @@ writeunit(FILE * F, const unit * u)
|
|||
wnl(F);
|
||||
#endif
|
||||
|
||||
assert(u->number <= UNIT_MAXSIZE);
|
||||
assert(u->race);
|
||||
|
||||
for (i=0;i!=u->skill_size;++i) {
|
||||
|
|
|
@ -5524,6 +5524,7 @@
|
|||
<arg name="unit" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
<arg name="command" type="order"/>
|
||||
<arg name="maxsize" type="int"/>
|
||||
</type>
|
||||
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - Einheiten dürfen nicht mehr als $int($maxsize) Personen enthalten."</text>
|
||||
<text locale="fr">"$unit($unit) in $region($region): '$order($command)' - Units may not have more than $int($maxsize) members."</text>
|
||||
|
|
Loading…
Reference in New Issue