Fixed bitmapClick() parameter bug

This commit is contained in:
vcaesar 2018-10-19 11:19:38 -04:00
parent 48a33f8a6d
commit e2fd078da8

View File

@ -960,7 +960,7 @@ func FindBit(args ...interface{}) (int, int) {
// BitmapClick find the bitmap and click // BitmapClick find the bitmap and click
func BitmapClick(bitmap C.MMBitmapRef, args ...interface{}) { func BitmapClick(bitmap C.MMBitmapRef, args ...interface{}) {
x, y := FindBitmap(bitmap) x, y := FindBitmap(bitmap)
MovesClick(x, y, args) MovesClick(x, y, args...)
} }
// PointInBounds bitmap point in bounds // PointInBounds bitmap point in bounds