Skip to content

Commit

Permalink
Tweak aiBestNearestTarget throttling
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Nov 11, 2023
1 parent 19fa67f commit 066f965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ bool actionVTOLLandingPos(DROID const *psDroid, Vector2i *p);

/** How many ticks to skip before looking for a better target. */
#define TARGET_UPD_SKIP_FRAMES 1000
#define TARGET_CHECK_NEW_SKIP_TICKS 500
#define TARGET_CHECK_NEW_SKIP_TICKS 200

// Throttle how often we look for a new target
// Notes: deltaGameTime is either 0 (if no gameTime update was processed) or GAME_TICKS_PER_UPDATE
Expand Down

0 comments on commit 066f965

Please sign in to comment.