forked from github/server
falsche locale bei TRANSPORTIERE-Check
This commit is contained in:
parent
a3ffe42a89
commit
2dad5d7e69
|
@ -1233,7 +1233,7 @@ travel(region * first, unit * u, region * next, int flucht)
|
||||||
ut = getunit(first, u->faction);
|
ut = getunit(first, u->faction);
|
||||||
if (ut) {
|
if (ut) {
|
||||||
boolean found = false;
|
boolean found = false;
|
||||||
if (igetkeyword(ut->thisorder, u->faction->locale) == K_DRIVE
|
if (igetkeyword(ut->thisorder, ut->faction->locale) == K_DRIVE
|
||||||
&& !fval(ut, UFL_LONGACTION) && !fval(ut, UFL_HUNGER)) {
|
&& !fval(ut, UFL_LONGACTION) && !fval(ut, UFL_HUNGER)) {
|
||||||
u2 = getunit(first, ut->faction);
|
u2 = getunit(first, ut->faction);
|
||||||
if(u2 == u) {
|
if(u2 == u) {
|
||||||
|
|
Loading…
Reference in New Issue