Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixes cannot see that issue with Map LOS Refactor. #2103

Merged
merged 2 commits into from
Feb 2, 2025

Conversation

kamronbatman
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Feb 2, 2025

Qodana for .NET

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Detected 20 dependencies

Third-party software list

This page lists the third-party software dependencies used in ModernUO

Dependency Version Licenses
Argon2.Bindings 1.16.1 MIT
BouncyCastle.Cryptography 2.5.0 MIT
CommunityToolkit.HighPerformance 8.4.0 MIT
LibDeflate.Bindings 1.0.2.120 GPL-3.0-only
MailKit 4.9.0 MIT
Microsoft.Extensions.FileSystemGlobbing 9.0.1 MIT
MimeKit 4.9.0 MIT
ModernUO.CodeGeneratedEvents.Annotations 1.0.0 GPL-3.0-only
ModernUO.CodeGeneratedEvents.Generator 1.0.3.2 GPL-3.0-only
ModernUO.Serialization.Annotations 2.9.1 GPL-3.0-only
ModernUO.Serialization.Generator 2.12.18 GPL-3.0-only
Nerdbank.GitVersioning 3.7.115 MIT
PollGroup 1.6.1 BSD-3-Clause
Serilog.Sinks.Async 2.1.0 Apache-2.0
Serilog.Sinks.Console 6.0.0 Apache-2.0
Serilog 4.2.0 Apache-2.0
System.Formats.Asn1 8.0.1 MIT
System.IO.Hashing 9.0.1 MIT
System.Security.Cryptography.Pkcs 8.0.1 MIT
Zstd.Binaries 1.6.0 MIT
Contact Qodana team

Contact us at [email protected]

@@ -9,7 +9,7 @@ public class Point3DList

public Point3DList()
{
m_List = new Point3D[8];
m_List = new Point3D[16];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bumped this to 16 because eye level is 14, and those checks use 15 point locations, so it is pretty common.

if (origin == destination)
{
return true;
}

if (path.Count > 0)
var end = destination;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Crux of the change. put back end which is not potentially swapped.

@kamronbatman kamronbatman merged commit 019672b into main Feb 2, 2025
11 of 12 checks passed
@kamronbatman kamronbatman deleted the kbatman/fix_los branch February 2, 2025 19:38
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.

1 participant