Skip to content

Fixes for traces distance - #3765

Merged
Astralcircle merged 1 commit into
wiremod:masterfrom
Astralcircle:trace
Nov 21, 2026
Merged

Astralcircle merged 1 commit into
wiremod:masterfrom
Astralcircle:trace

Conversation

@Astralcircle

@Astralcircle Astralcircle commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Many pieces of code used trace.Fraction*16384 to determine distance, which is incorrect

As a result, the calculated distance was always half of the actual distance. Furthermore, some traces might fail to reach their target if initiated from the opposite end of the map

Many pieces of code used `trace.Fraction*32768` to determine distance, which is incorrect
As a result, the calculated distance was always half of the actual distance. Furthermore, some traces might fail to reach their target if initiated from the opposite end of the map
@Astralcircle
Astralcircle merged commit 02a889f into wiremod:master Nov 21, 2026
1 check failed
@Astralcircle
Astralcircle deleted the trace branch November 21, 2026 16:52
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.

2 participants