forked from github/server
- ZIP und BZIP2 können nur noch um-, nicht mehr ausgeschaltet werden.
This commit is contained in:
parent
d235d83898
commit
b4215da428
|
@ -1994,7 +1994,11 @@ set_passw(void)
|
||||||
} else {
|
} else {
|
||||||
i = (int) pow(2, o);
|
i = (int) pow(2, o);
|
||||||
if (getparam(u->faction->locale) == P_NOT) {
|
if (getparam(u->faction->locale) == P_NOT) {
|
||||||
u->faction->options = u->faction->options & ~i;
|
if(i == O_COMPRESS || i == O_BZIP2) {
|
||||||
|
cmistake(u, S->s, 305, MSG_EVENT);
|
||||||
|
} else {
|
||||||
|
u->faction->options = u->faction->options & ~i;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
u->faction->options = u->faction->options | i;
|
u->faction->options = u->faction->options | i;
|
||||||
if(i == O_COMPRESS) u->faction->options &= ~O_BZIP2;
|
if(i == O_COMPRESS) u->faction->options &= ~O_BZIP2;
|
||||||
|
|
|
@ -4407,6 +4407,16 @@
|
||||||
<text locale="en">"$unit($unit) in $region($region): '$command' - units of a faction that can't be attacked may not guard."</text>
|
<text locale="en">"$unit($unit) in $region($region): '$command' - units of a faction that can't be attacked may not guard."</text>
|
||||||
</message>
|
</message>
|
||||||
|
|
||||||
|
<message name="error305" section="errors">
|
||||||
|
<type>
|
||||||
|
<arg name="unit" type="unit"></arg>
|
||||||
|
<arg name="region" type="region"></arg>
|
||||||
|
<arg name="command" type="string"></arg>
|
||||||
|
</type>
|
||||||
|
<text locale="de">"$unit($unit) in $region($region): '$command' - Die Optionen ZIP und BZIP2 können nur um, nicht ausgeschaltet werden."</text>
|
||||||
|
<text locale="en">"$unit($unit) in $region($region): '$command' - options ZIP and BZIP2 can only be switched, not turned off."</text>
|
||||||
|
</message>
|
||||||
|
|
||||||
<message name="drown_on_ship">
|
<message name="drown_on_ship">
|
||||||
<type>
|
<type>
|
||||||
<arg name="unit" type="unit"></arg>
|
<arg name="unit" type="unit"></arg>
|
||||||
|
|
Loading…
Reference in New Issue