AI fix for move while upgrading

This commit is contained in:
mathusummut
2018-06-23 22:07:20 +02:00
parent 3b14f3eb02
commit 812db7279d

View File

@@ -561,8 +561,8 @@ namespace
throw
megaglest_runtime_error(szBuf);
}
/*if (unit->getProgress2() != NULL)
return result;*/
if (unit->getProgress2() != NULL)
return result;
const UnitType *
unitType = unit->getType();
if (unitType == NULL) {
@@ -661,8 +661,8 @@ namespace
throw
megaglest_runtime_error(szBuf);
}
/*if (unit->getProgress2() != NULL)
return result;*/
if (unit->getProgress2() != NULL)
return result;
const UnitType *
unitType = unit->getType();
if (unitType == NULL) {
@@ -750,8 +750,8 @@ namespace
throw
megaglest_runtime_error(szBuf);
}
/*if (unit->getProgress2() != NULL)
return result;*/
if (unit->getProgress2() != NULL)
return result;
const UnitType *
unitType = unit->getType();
if (unitType == NULL) {
@@ -838,8 +838,8 @@ namespace
throw
megaglest_runtime_error(szBuf);
}
/*if (unit->getProgress2() != NULL)
return result;*/
if (unit->getProgress2() != NULL)
return result;
const UnitType *
unitType = unit->getType();
if (unitType == NULL) {