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

Improve ".debug los check" command #2337

Merged
merged 3 commits into from
Dec 4, 2023

Conversation

Gamemechanicwow
Copy link
Contributor

🍰 Pullrequest

Adds functionality to ".debug los check" so it also checks for LOS with dynamic objects.

Proof

  • None

Issues

  • None

How2Test

  • None

Todo / Checklist

  • None

@@ -557,6 +557,7 @@ class Map : public GridRefManager<NGridType>
bool GetWalkRandomPosition(GenericTransport* t, float &x, float &y, float &z, float maxRadius, uint32 moveAllowedFlags = 0xF) const;
bool GetSwimRandomPosition(float& x, float& y, float& z, float radius, GridMapLiquidData& liquid_status, bool randomRange = true) const;
VMAP::ModelInstance* FindCollisionModel(float x1, float y1, float z1, float x2, float y2, float z2);
const GameObjectModel* FindDynamicObjectCollisionModel(float x1, float y1, float z1, float x2, float y2, float z2);
Copy link
Contributor

Choose a reason for hiding this comment

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

east const

@ratkosrb ratkosrb merged commit b772fc4 into vmangos:development Dec 4, 2023
3 checks passed
Benjaminmnoer pushed a commit to Benjaminmnoer/vmangoscore that referenced this pull request Dec 18, 2023
@Gamemechanicwow Gamemechanicwow deleted the debug-los-dynobj branch October 16, 2024 22:45
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