Fix crash when loading active repair facilities

master
Per Inge Mathisen 2011-07-02 15:28:14 +02:00
parent 09eb6e79f3
commit 5a9f420475
1 changed files with 0 additions and 1 deletions

View File

@ -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"))
{