Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,13 @@ UpdateSleepTime DeployStyleAIUpdate::update()
}
}

// TheSuperHackers @bugfix Caball009 27/07/2026 The pathfinding code may use a stricter attack range check than used
// in this function, so the range check is insufficient. Objects are not allowed to deploy and attack if they're moving.
#if RETAIL_COMPATIBLE_CRC
if( isInRange || isInGuardIdleState )
#else
if( (isInRange && !ai->isMoving()) || isInGuardIdleState )
#endif
{
switch( m_state )
{
Expand Down
Loading