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

AssignGrid (gassign) always fails. Fix Attached #271

Closed
hateborne opened this issue Oct 12, 2014 · 1 comment
Closed

AssignGrid (gassign) always fails. Fix Attached #271

hateborne opened this issue Oct 12, 2014 · 1 comment

Comments

@hateborne
Copy link
Contributor

When using #gassign a target with no grid, it returns "#gassign [num] - must have an npc target!"
When using #gassign 1 on a target where grid is a valid number and the spawn exists from the default PEQ database, it returns "ERROR: Unable to assign grid - can't find it in spawn2".

Line 1108 waypoints.cpp, change:
"if(matches == 1)"
to
"if(matches > 1)"

-Hate

@hateborne hateborne changed the title AssignGrid (gassign) always fails. AssignGrid (gassign) always fails. Fix Attached Oct 12, 2014
@joligario
Copy link
Contributor

Fixed in 6028dbb
Thanks!

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

No branches or pull requests

2 participants