forked from github/server
inconsistent error-numbering
This commit is contained in:
parent
7494c64082
commit
5c75304747
|
@ -167,7 +167,7 @@ give_men(int n, unit * u, unit * u2, struct order * ord)
|
|||
} else if (fval(u, UFL_LOCKED) || is_cursed(u->attribs, C_SLAVE, 0)) {
|
||||
error = 74;
|
||||
} else if (u2 && fval(u, UFL_HUNGER)) {
|
||||
error = 320;
|
||||
error = 73;
|
||||
} else if (u2 && (fval(u2, UFL_LOCKED)|| is_cursed(u2->attribs, C_SLAVE, 0))) {
|
||||
error = 75;
|
||||
} else if (u2 && u2->faction != u->faction && !alliedunit(u2, u->faction, HELP_GIVE) && !ucontact(u2, u)) {
|
||||
|
|
|
@ -5173,7 +5173,7 @@
|
|||
<text locale="fr">"$unit($unit) in $region($region): '$order($command)' - This unit does not take anybody."</text>
|
||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - This unit does not take anybody."</text>
|
||||
</message>
|
||||
<message name="error742" section="errors">
|
||||
<message name="error73" section="errors">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
|
|
Loading…
Reference in New Issue