Permalink
Browse files

Fix VTOL rearming bug where it would not use all pads

Bug introduced with removal of cluster code.

Closes ticket:4697
  • Loading branch information...
perim committed Jan 9, 2018
1 parent f7f1771 commit 86acb948625f55cd619a80d763db3d3e8dff5c8e
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/structure.cpp
View
@@ -6657,7 +6657,6 @@ STRUCTURE *findNearestReArmPad(DROID *psDroid, STRUCTURE *psTarget, bool bClear)
for (STRUCTURE *psStruct = apsStructLists[psDroid->player]; psStruct; psStruct = psStruct->psNext)
{
if (psStruct->pStructureType->type == REF_REARM_PAD
&& psTarget == nullptr
&& (!bClear || clearRearmPad(psStruct)))
{
xdiff = (SDWORD)psStruct->pos.x - cx;

0 comments on commit 86acb94

Please sign in to comment.