diasurgical / devilutionX

Diablo build for modern operating systems
Other
8.01k stars 786 forks source link

Clean up selection type #7416

Closed AJenbo closed 2 weeks ago

AJenbo commented 2 weeks ago

Clean up the cursor selection code that select by tile shapes.

Rather then check for selection type using < and > in cursor.cpp it now check for a flag, the previous checks where only working correctly because there are no items and objects that are 3 tiles tall. There isn't isn't any code for seeing if a 3 tile tall object/item was clicked.