From 5a9f42047544de23d07dc4e86cc7a80b75a68e06 Mon Sep 17 00:00:00 2001 From: Per Inge Mathisen Date: Sat, 2 Jul 2011 15:28:14 +0200 Subject: [PATCH] Fix crash when loading active repair facilities --- src/game.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/game.cpp b/src/game.cpp index 846291736..5d51b9cea 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -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")) {