Skip to content

Feature that makes group members non-hostile doesn't cover all cases #25

Description

@BC46

The non-hostile group members feature doesn't work for the following features:

  • Nearest enemy
  • Next enemy
  • Previous enemy

When pressing these hotkeys, hostile group members are still selected. The code for all three keys can be found here: 004E2A0F. Fixing nearest enemy is easy because it uses CShip::is_enemy(IObjInspect*) which is similar to the already-hooked GetAttitudeType. The other two functions are more tricky because they call Reputation::Vibe::AttitudeTowards, thrice.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions