Skip to content

Add on option to start at maximum aiming level#112

Merged
Asdow merged 2 commits into
masterfrom
alternate-starting-aim-option
Jan 22, 2023
Merged

Add on option to start at maximum aiming level#112
Asdow merged 2 commits into
masterfrom
alternate-starting-aim-option

Conversation

@Asdow
Copy link
Copy Markdown
Contributor

@Asdow Asdow commented Jan 22, 2023

When hovering mouse on an enemy, aiming level is started at maximum instead of no aiming when this option is toggled. Can be toggled on/off from options screen ingame at any point.

Closes #109

Asdow added 2 commits January 22, 2023 19:57
When hovering mouse on an enemy, aiming level is started at maximum instead of no aiming when this option is toggled.
Comment thread Tactical/UI Cursors.cpp
Comment on lines +461 to +467
const bool isCursorOnTarget = (
guiNewUICursor == ACTION_SHOOT_UICURSOR || guiNewUICursor == ACTION_TARGETBURST_UICURSOR ||
guiNewUICursor == ACTION_FLASH_SHOOT_UICURSOR || guiNewUICursor == ACTION_FLASH_BURST_UICURSOR ||
guiNewUICursor == ACTION_NOCHANCE_SHOOT_UICURSOR || guiNewUICursor == ACTION_NOCHANCE_BURST_UICURSOR
);
// Start at maximum aiming levels if the option is toggled
if (gGameSettings.fOptions[TOPTION_ALT_START_AIM] && isCursorOnTarget)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either squash this commit onto the previous, or move the UI Cursors changes in the previous commit to this one.

This 'Commit A - Did something', 'Commit B - Fix something that was wrong in commit A' structure makes it harder to review this, not easier.

@Asdow Asdow merged commit 3985dca into master Jan 22, 2023
@Asdow Asdow deleted the alternate-starting-aim-option branch January 22, 2023 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an option for max default aim

2 participants