Need help with GetCursorInfo (Cata)
I have an addon that currently works on retail and it previously worked on wrath until they started adding in the collections stuff for pets and mounts. The addon uses GetCursorInfo() to get what companion pet you are dropping onto it.
If you call GetCursorInfo with a pet that was learned on the current character you get usable info.
For example: companion, 1, CRITTER
But if I'm on an alt and try to get the pet info, the id is always 0 and can't be used.
For example: companion, 0, CRITTER
Are there any alternatives to GetCursorInfo? I need a way to get the pet that is currently on the mouse cursor that works with cata classic.
|