Fix crash when loading active repair facilities
parent
09eb6e79f3
commit
5a9f420475
|
@ -4973,7 +4973,6 @@ static bool loadSaveStructure2(const char *pFileName, STRUCTURE **ppList)
|
|||
psRepair->power = ((REPAIR_DROID_FUNCTION *) psStructure->pStructureType->asFuncList[0])->repairPoints;
|
||||
psRepair->timeStarted = ini.value("Repair/timeStarted").toInt();
|
||||
psRepair->powerAccrued = ini.value("Repair/powerAccrued").toInt();
|
||||
psRepair->psDeliveryPoint = NULL;
|
||||
psRepair->currentPtsAdded = ini.value("Repair/currentPtsAdded").toInt();
|
||||
if (ini.contains("Repair/deliveryPoint/pos"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue