Skip to content

Commit

Permalink
Fix selNextSpecifiedBuilding()
Browse files Browse the repository at this point in the history
refs 67a9542
  • Loading branch information
KJeff01 committed Mar 3, 2024
1 parent 20d894f commit d29f94a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/selection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,10 @@ void selNextSpecifiedBuilding(STRUCTURE_TYPE structType, bool jump)

for (STRUCTURE *psCurr : apsStructLists[selectedPlayer])
{
if (psResult)
{
break;
}
if (psCurr->pStructureType->type == structType && psCurr->status == SS_BUILT)
{
if (!psFirst)
Expand Down

0 comments on commit d29f94a

Please sign in to comment.