Skip to content

Commit

Permalink
fix pTarget->MindControlledBy
Browse files Browse the repository at this point in the history
  • Loading branch information
secsome committed Apr 5, 2021
1 parent 3d6709a commit 11283fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Misc/CaptureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ bool CaptureManager::CaptureUnit(CaptureManagerClass* pManager, TechnoClass* pTa

if (pTarget->SetOwningHouse(pManager->Owner->Owner))
{
pTarget->MindControlledBy = pManager->Owner;

pManager->DecideUnitFate(pTarget);

auto const pBld = abstract_cast<BuildingClass*>(pTarget);
Expand Down

0 comments on commit 11283fc

Please sign in to comment.