Skip to content

Commit

Permalink
Fix moving repair delivery points.
Browse files Browse the repository at this point in the history
Closes #3581.
  • Loading branch information
Safety0ff committed Jun 30, 2012
1 parent 6a04b6a commit caabd96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/display.cpp
Expand Up @@ -1452,6 +1452,11 @@ void finishDeliveryPosition()
setAssemblyPoint(psStruct->pFunctionality->factory.psAssemblyPoint,
flagPos.coords.x, flagPos.coords.y, selectedPlayer, true);
}
else if (psStruct->pStructureType->type == REF_REPAIR_FACILITY)
{
setAssemblyPoint(psStruct->pFunctionality->repairFacility.psDeliveryPoint,
flagPos.coords.x, flagPos.coords.y, selectedPlayer, true);
}
//deselect once moved
for (psFlagPos = apsFlagPosLists[selectedPlayer]; psFlagPos;
psFlagPos = psFlagPos->psNext)
Expand Down

0 comments on commit caabd96

Please sign in to comment.