Skip to content

Commit

Permalink
Merge pull request #92 from paulotten/los
Browse files Browse the repository at this point in the history
Show lancemates' line of sight
  • Loading branch information
jwvhewitt authored Jan 17, 2019
2 parents 99fadde + 2f29316 commit 578ffa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conmap.pp
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ procedure IndicateTile( GB: GameBoardPtr; Mek: GearPtr );
M2 := M2^.Next;
end;

if NAttValue( Mek^.NA , NAG_Location , NAS_Team ) = NAV_DefPlayerTeam then begin
if (NAttValue( Mek^.NA , NAG_Location , NAS_Team ) = NAV_DefPlayerTeam) or (NAttValue( Mek^.NA , NAG_Location , NAS_Team ) = NAV_LancemateTeam) then begin
CheckVisibleArea( GB , Mek );
end;

Expand Down
2 changes: 1 addition & 1 deletion sdlmap.pp
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ procedure IndicateTile( GB: GameBoardPtr; X,Y: Integer );
M2 := M2^.Next;
end;

if NAttValue( Mek^.NA , NAG_Location , NAS_Team ) = NAV_DefPlayerTeam then begin
if (NAttValue( Mek^.NA , NAG_Location , NAS_Team ) = NAV_DefPlayerTeam) or (NAttValue( Mek^.NA , NAG_Location , NAS_Team ) = NAV_LancemateTeam) then begin
CheckVisibleArea( GB , Mek );
end;
end;
Expand Down

0 comments on commit 578ffa8

Please sign in to comment.