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

Fixed FindObjectEx #94

Merged
merged 1 commit into from Oct 22, 2012
Merged

Fixed FindObjectEx #94

merged 1 commit into from Oct 22, 2012

Conversation

brart
Copy link
Contributor

@brart brart commented Oct 22, 2012

I fixed FindObjEx. It would give a lot of wrong x, y to the finder errors if the color wasn't found in the exact middle of the screen. Also made the code, in my opinion at least, a bit easier to read. It is not much slower or faster.

http://villavu.com/forum/showthread.php?p=1111770

I fixed FindObjEx. It would give a lot of out of bounds errors if the color wasn't found in the exact middle of the screen. Also made the code, in my opinion at least, a bit easier to read. It is not much slower or faster.

http://villavu.com/forum/showthread.php?p=1111770
@@ -11,7 +11,7 @@ Object Finding
*)
//-----------------------------------------------------------------//
//-- SRL Resource Library --//
//-- » ObjectFinding Routines --//
//-- � ObjectFinding Routines --//
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea why it keeps doing that.

cohenadair added a commit that referenced this pull request Oct 22, 2012
@cohenadair cohenadair merged commit 34681cb into SRL:master Oct 22, 2012
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.

None yet

2 participants