Skip to content

Commit ffe37ab

Browse files
committed
bugfix: Prevent drag-selection of enemy beacons
1 parent e477aa7 commit ffe37ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GeneralsMD/Code/GameEngine/Source/GameClient/SelectionInfo.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ Bool addDrawableToList( Drawable *draw, void *userData )
349349
if (!pds->drawableListToFill)
350350
return FALSE;
351351

352+
if (draw->isDrawableEffectivelyHidden())
353+
return FALSE;
354+
352355
if (!draw->getTemplate()->isAnyKindOf(pds->kindofsToMatch))
353356
return FALSE;
354357

0 commit comments

Comments
 (0)