Skip to content

Commit db7f4d4

Browse files
authored
refactor: Move feedbackWithFailure declaration position
1 parent a8495cd commit db7f4d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

GeneralsMD/Code/GameEngine/Source/Common/System/BuildAssistant.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,11 +674,10 @@ LegalBuildCode BuildAssistant::isLocationClearOfObjects( const Coord3D *worldPos
674674
MemoryPoolObjectHolder hold(iter);
675675
for( them = iter->first(); them; them = iter->next() )
676676
{
677-
Bool feedbackWithFailure = TRUE;
678-
679677
if (them->getDrawable() && them->getDrawable()->getFullyObscuredByShroud())
680678
return LBC_SHROUD;
681679

680+
Bool feedbackWithFailure = TRUE;
682681
Relationship rel = builderObject ? builderObject->getRelationship( them ) : NEUTRAL;
683682

684683
//Kris: If the object is stealthed and we can't see it, pretend we can build there.

0 commit comments

Comments
 (0)