Skip to content

Commit

Permalink
Merge branch 'master' into issue-6359-lam-mode-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
psikomonkie authored Jan 20, 2025
2 parents 6c5dc39 + 9724539 commit e9f65b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion megamek/docs/history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ MEGAMEK VERSION HISTORY:
+ PR #6414: Warnings on Campaign Load - MegaMek Portion
+ Fix #6412: Fix TacOps "Standing Still" modifier description
+ Fix 6373: Fixed "unit that starts and ends a Movement Phase in liquid magma takes an additional damage" so it doesn't apply to units above the magma

+ PR #6427 & #6428: Fix for Princess not ignoring Hidden and Ignored units. - Scoppio

0.50.02 (2024-12-30 2130 UTC)
+ PR #6183: New GM Commands, princess commands on map menu, graphics for some explosions
Expand Down
6 changes: 3 additions & 3 deletions megamek/src/megamek/client/bot/BotClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ public List<Entity> getEnemyEntities() {
currentTurnEnemyEntities = new ArrayList<>();
for (Entity entity : game.getEntitiesVector()) {
if (entity.getOwner().isEnemyOf(getLocalPlayer())
&& (entity.getPosition() != null) && !entity.isOffBoard()
&& (entity.getCrew() != null) && !entity.getCrew().isDead()) {

&& (entity.getPosition() != null) && !entity.isOffBoard()
&& (entity.getCrew() != null) && !entity.getCrew().isDead()
&& !entity.isHidden()) {
currentTurnEnemyEntities.add(entity);
}
}
Expand Down

0 comments on commit e9f65b6

Please sign in to comment.